mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-01-05 17:17:36 +03:00
12a235d624
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().
4 lines
14 B
Plaintext
4 lines
14 B
Plaintext
lo
|
|
eth0
|
|
vmbr0
|