--- - branch: MAIN date: Tue Sep 22 14:14:17 UTC 2020 files: - new: '1.243' old: '1.242' path: src/sbin/ifconfig/ifconfig.c pathrev: src/sbin/ifconfig/ifconfig.c@1.243 type: modified - new: '1.10' old: '1.9' path: src/sbin/ifconfig/media.c pathrev: src/sbin/ifconfig/media.c@1.10 type: modified - new: '1.2' old: '1.1' path: src/sbin/ifconfig/media.h pathrev: src/sbin/ifconfig/media.h@1.2 type: modified - new: '1.285' old: '1.284' path: src/sys/net/if.h pathrev: src/sys/net/if.h@1.285 type: modified id: 20200922T141417Z.331f61174a68e5edd9e759c3e73661d58a70d7f1 log: | ifconfig: Report link state even if media is not supported For AF_LINK addrs from getifaddrs(2), ifa_data is struct if_data. This in turn holds ifi_link_state which we can use to report link status if the interface does not support media where it's normally reported. Based on OpenBSD. module: src subject: 'CVS commit: src' unixtime: '1600784057' user: roy