Page MenuHomeFreeBSD

sbin/ifconfig: Use libifconfig to get lagg status
ClosedPublic

Authored by freqlabs on Feb 27 2021, 3:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 2, 11:52 AM
Unknown Object (File)
Nov 21 2024, 10:44 PM
Unknown Object (File)
Oct 28 2024, 8:55 PM
Unknown Object (File)
Oct 24 2024, 10:47 PM
Unknown Object (File)
Oct 14 2024, 3:18 PM
Unknown Object (File)
Sep 29 2024, 5:58 AM
Unknown Object (File)
Sep 27 2024, 4:43 AM
Unknown Object (File)
Sep 20 2024, 9:15 AM
Subscribers
None

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable