8257 ifconfig configinfo confuses mtu with metric

Review Request #525 - Created May 20, 2017 and submitted

Information
Sebastian Wiedenroth
illumos-gate
Reviewers
general

To display the mtu "ifconfig configinfo" uses the lifr.lifr_metric member which works because both are in the same union but is confusing.

This small cleanup fixes that.

Used ifconfig -a configinfo from the proto area and it still worked.

Andrew Stormont
Toomas Soome
Yuri Pankov
Sebastian Wiedenroth
Review request changed

Status: Closed (submitted)

Loading...