HomeFreeBSD

net/if_media.c: improve IFMEDIA_DEBUG output.

Description

net/if_media.c: improve IFMEDIA_DEBUG output.

Use consistent output format for hex.
Print both media and mask where relevant.

Reviewed by: hselasky
Sponsored by: Mellanox Technologies/NVidia Networking
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D27034

Details

Provenance
kibAuthored on
Reviewer
hselasky
Differential Revision
D27034: Cleanup of net/if_media.c
Parents
rS367251: Cleanup of net/if_media.c: simplify cleanup loop in ifmedia_removeall().
Branches
Unknown
Tags
Unknown