aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Baldwin2015-09-15 10:48:16 -0700
committerJohn Baldwin2015-09-15 10:48:16 -0700
commitdee6d5272072f4c91902fafa784a9f31a65bcc25 (patch)
tree99a1baa886cd58a9f70f434f8b3cc9a27a07c6dc /Makefile
parentMerge pull request #51 from czarkoff/mail-python (diff)
Fix some issues with displaying Ethernet media status on recent FreeBSD kernels.
- Don't apply IFM_SUBTYPE to the raw subtype in the description table. IFM_SUBTYPE() requires a fully populated word and was truncating values in the table when comparing resulting in false matches (notably "10GBase-KX4" for the no media case) after recent changes to add extended Ethernet media states in FreeBSD. - Explicitly check for IFM_ETHER. - Use SIOCGIFXMEDIA when present to obtain extended media states on newer kernels. - Explicitly handle "no carrier".
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions