Page MenuHomeFreeBSD

rc.firewall: Use checkyesno for boolean variables
ClosedPublic

Authored by des on Jun 19 2026, 6:54 PM.
Tags
None
Referenced Files
F174801879: D57678.id180718.diff
Tue, Oct 6, 2:16 AM
Unknown Object (File)
Mon, Oct 5, 7:21 AM
Unknown Object (File)
Sun, Oct 4, 4:01 PM
Unknown Object (File)
Sat, Oct 3, 1:48 AM
Unknown Object (File)
Thu, Oct 1, 9:44 PM
Unknown Object (File)
Thu, Oct 1, 4:38 PM
Unknown Object (File)
Fri, Sep 25, 3:13 AM
Unknown Object (File)
Tue, Sep 22, 4:38 AM
Subscribers

Details

Summary

Use the checkyesno function from rc.subr instead of hardcoded checks for
boolean variables. Also drop an incorrect comment about the default
logamount value; the actual default is zero (unlimited).

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable