8257 ifconfig configinfo confuses mtu with metric

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

wiedi
illumos-gate
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.

andy_js
  1. Ship It!
  2. 
      
tsoome
  1. Ship It!
  2. 
      
yuripv
  1. Ship It!
  2. 
      
wiedi
Review request changed

Status: Closed (submitted)

Loading...