pve-common/test/etc_network_interfaces
Wolfgang Bumiller 12a235d624 Fix #882: active state of interfaces depends on ipv6
read_etc_network_interfaces used the content of
/proc/net/if_inet6 to decide whether an interface's state is
"active", which means an interface is only active when it
has an ipv6 address, thus using net.ipv6.conf.*.disable_ipv6
on an interface will cause it to show as inactive in the web
interface.

We now filter the interfaces found in /proc/dev/net by their
IFF_UP flag read via an SIOCGIFFLAGS ioctl().
2016-02-10 12:20:21 +01:00
..
active_interfaces Fix #882: active state of interfaces depends on ipv6 2016-02-10 12:20:21 +01:00
base importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
brbase tests: list/create/update network interfaces 2015-06-26 07:51:26 +02:00
loopback importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
Makefile importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
proc_net_dev importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
runtest.pl Fix #882: active state of interfaces depends on ipv6 2016-02-10 12:20:21 +01:00
t.base.pl importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
t.bridge_eth_remove_auto.pl half-revert: remove autostart property from bridge ports 2015-10-19 11:11:29 +02:00
t.bridge-v4-v6.pl importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
t.create_network.pl tests: list/create/update network interfaces 2015-06-26 07:51:26 +02:00
t.keep-option-order.pl importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
t.list-interfaces.pl tests: list/create/update network interfaces 2015-06-26 07:51:26 +02:00
t.ovs_bridge_allow.pl remove autostart property from bridge ports 2015-09-14 12:42:47 +02:00
t.unhandled-interfaces-to-manual.pl importing etc_network_interfaces tests 2015-06-26 07:49:16 +02:00
t.unknown_order.pl don't reorder unknown interface types 2015-10-07 13:43:28 +02:00
t.update_network.pl tests: list/create/update network interfaces 2015-06-26 07:51:26 +02:00