Netlink customers rely on admin and operational state when working with interfaces. The current implementation retuns "unknown" operstate for all interface types except IFT_ETHER and IFT_LOOP. This change updates the code to fetch vlan operstate in the same way as for the ether interfaces. For the rest of the interface types, operstate is now mapped to the admin state. Reported by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> MFC after: 3 days |
||
---|---|---|
.. | ||
common.h | ||
iface_drivers.c | ||
iface.c | ||
ifaddrs.h | ||
interface.h | ||
neigh.c | ||
neigh.h | ||
nexthop.c | ||
nexthop.h | ||
route_var.h | ||
route.h | ||
rt.c |