Page MenuHomeFreeBSD

sbin/ifconfig: Use libifconfig to get lagg status
ClosedPublic

Authored by freqlabs on Feb 27 2021, 3:12 AM.

Details

Summary

Also trimmed an unused block of code that never prints out LAGG_PROTOS.

Test Plan
# ifconfig > /tmp/a
# ifconfig -v > /tmp/a_v
# git stash pop && make -C sbin/ifconfig && make -C sbin/ifconfig install
<snip>
# ifconfig > /tmp/b
# ifconfig -v > /tmp/b_v
# cmp /tmp/a /tmp/b && echo ok
ok
# cmp /tmp/a_v /tmp/b_v && echo ok
ok

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.