ipconfig: Toggle interface IPv6 status properly
authorJukka Rissanen <jukka.rissanen@nokia.com>
Thu, 17 Feb 2011 07:59:30 +0000 (09:59 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Feb 2011 22:56:35 +0000 (23:56 +0100)
commit3373593f63cb4ff52d04952517f69710867fd849
tree7022e3fce102108ebd5fcd28dc37b9f5a30801f6
parent5b918998019ed669f58bee83b39ef98e370534ee
ipconfig: Toggle interface IPv6 status properly

This is done so that if service is disconnected, the kernel
created autoconf routes need to be cleared also.
That can be done easily by disabling IPv6 for that interface.
The disabling of IPv6 is only done for autoconfigured interfaces.
When service is connected, the IPv6 is enabled for the used
interface.
src/ipconfig.c