projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64a8425
)
ipconfig: Do not tweak IPv6 status of ignored devices
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Wed, 25 Apr 2012 08:20:04 +0000
(11:20 +0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 25 Apr 2012 08:59:00 +0000
(10:59 +0200)
src/ipconfig.c
patch
|
blob
|
history
diff --git
a/src/ipconfig.c
b/src/ipconfig.c
index
af5666d
..
8dc0a59
100644
(file)
--- a/
src/ipconfig.c
+++ b/
src/ipconfig.c
@@
-555,8
+555,10
@@
static void __connman_ipconfig_lower_up(struct connman_ipdevice *ipdevice)
ipdevice->config_ipv6->enabled == TRUE)
return;
- set_ipv6_state(ipdevice->ifname, FALSE);
- ipdevice->ipv6_enabled = FALSE;
+ if (__connman_device_isfiltered(ipdevice->ifname) == FALSE) {
+ ipdevice->ipv6_enabled = get_ipv6_state(ipdevice->ifname);
+ set_ipv6_state(ipdevice->ifname, FALSE);
+ }
}
static void __connman_ipconfig_lower_down(struct connman_ipdevice *ipdevice)