Hi all,
following patches add new AUTO ipconfig method type. It is only used
in IPv6 ipconfig. The default method for IPv6 config will be AUTO.
If user sets the IPv6 ipconfig method to OFF, then IPv6 is disabled
for that interface. Setting IPv6 ipconfig method back to AUTO will
enable IPv6 for that interface.
Regards,
Jukka
Jukka Rissanen (8):
ipconfig: Remove unnecessary null checks
ipconfig: Added auto method that is used for IPv6 auto configured
addresses
ipconfig: Default method is auto for IPv6
ipv6: Test script for setting IPv6 Method
ipv6: Do not set the method as it is set when ipconfig is created
ipv6: Clear the IPv6 address if that address is removed from system
ipv6: Allow user to disable or enable IPv6 at will
ipv6: Do not disconnect IPv4 if IPv6 method changes
include/ipconfig.h | 1 +
plugins/ofono.c | 1 +
src/ipconfig.c | 117 +++++++++++++++++++++++++++++++++++++++++++++++++-
src/network.c | 16 +++----
src/service.c | 49 +++++++++++----------
test/set-ipv6-method | 33 ++++++++++++++
6 files changed, 183 insertions(+), 34 deletions(-)
create mode 100755 test/set-ipv6-method
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman