Page MenuHomeFreeBSD

ifconfig: Report errors from failed FIB commands
ClosedPublic

Authored by markj on Jan 27 2026, 6:32 PM.
Tags
None
Referenced Files
F162958523: D54918.diff
Sat, Jul 18, 5:08 PM
Unknown Object (File)
Fri, Jul 17, 8:09 PM
Unknown Object (File)
Wed, Jul 15, 7:04 AM
Unknown Object (File)
Wed, Jul 15, 7:04 AM
Unknown Object (File)
Jun 18 2026, 12:09 PM
Unknown Object (File)
Jun 16 2026, 8:23 AM
Unknown Object (File)
Jun 14 2026, 12:39 PM
Unknown Object (File)
Jun 13 2026, 12:47 AM

Details

Summary

Previously, setting an interface FIB to some invalid value would result
in a warning being printed, but the ifconfig command would exit with
status 0, but this seems wrong.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70171
Build 67054: arc lint + arc unit

Event Timeline

markj requested review of this revision.Jan 27 2026, 6:32 PM
This revision is now accepted and ready to land.Jan 27 2026, 9:20 PM
zlei added a subscriber: zlei.

Looks good to me.

zlei added inline comments.
sbin/ifconfig/iffib.c
97

CC the author @melifaro to see if the warn() is intentional .