Page MenuHomeFreeBSD

sbin/ifconfig: Get media status with libifconfig
ClosedPublic

Authored by freqlabs on Mar 3 2021, 3:05 AM.

Details

Summary

Code deduplication.

Test Plan

Check ifconfig output before and after are identical.

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.

Event Timeline

freqlabs created this revision.
sbin/ifconfig/ifmedia.c
334

Whoops need to free this too.

This revision is now accepted and ready to land.Mar 3 2021, 1:27 PM