Page MenuHomeFreeBSD

service/ipfw: Silence warning on restart
ClosedPublic

Authored by donner on May 2 2021, 8:51 PM.
Tags
None
Referenced Files
F102048975: D30083.diff
Wed, Nov 6, 11:35 PM
Unknown Object (File)
Fri, Nov 1, 2:01 AM
Unknown Object (File)
Oct 2 2024, 3:14 PM
Unknown Object (File)
Oct 2 2024, 8:27 AM
Unknown Object (File)
Oct 1 2024, 11:25 PM
Unknown Object (File)
Oct 1 2024, 10:14 PM
Unknown Object (File)
Sep 30 2024, 12:07 AM
Unknown Object (File)
Sep 29 2024, 6:49 PM

Details

Summary

Once the ipfw0 interface has been created, ifconfig(8) create will
throw a warning: ifconfig: create: bad value' when trying to create it
again.

PR: 241013
Submitted by: Jose Luis Duran
MFC after: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38969
Build 35858: arc lint + arc unit

Event Timeline

donner requested review of this revision.May 2 2021, 8:51 PM

The idea was to make it more in line with pflog's behavior, and of course to silence the warning. The patch is good as is for me, however.

Thank you for reviewing this.

donner added a subscriber: kp.

Add @kp for the pflog reference.

kp added inline comments.
libexec/rc/rc.d/ipfw
82

I think I wouldn't include this warning. After all, the system state is what we wanted it to be: we want ipfw0 to exist and it does.

This revision is now accepted and ready to land.May 3 2021, 9:40 AM
This revision was automatically updated to reflect the committed changes.
donner marked an inline comment as done.