mirror of
https://github.com/opnsense/src.git
synced 2026-02-23 18:00:31 -05:00
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 |
||
|---|---|---|
| .. | ||
| route | ||
| netlink.h | ||
| netlink_ctl.h | ||
| netlink_debug.h | ||
| netlink_domain.c | ||
| netlink_generic.c | ||
| netlink_generic.h | ||
| netlink_io.c | ||
| netlink_linux.h | ||
| netlink_message_parser.c | ||
| netlink_message_parser.h | ||
| netlink_message_writer.c | ||
| netlink_message_writer.h | ||
| netlink_module.c | ||
| netlink_route.c | ||
| netlink_route.h | ||
| netlink_snl.h | ||
| netlink_snl_route.h | ||
| netlink_var.h | ||