Page MenuHomeFreeBSD

pfctl: improve bitmask printing
ClosedPublic

Authored by kp on Sep 7 2024, 9:35 AM.
Tags
None
Referenced Files
F174715745: D46584.id143481.diff
Mon, Oct 5, 10:50 AM
F174661423: D46584.id.diff
Mon, Oct 5, 1:06 AM
Unknown Object (File)
Sun, Oct 4, 7:25 PM
Unknown Object (File)
Sun, Oct 4, 1:07 PM
Unknown Object (File)
Sun, Oct 4, 2:23 AM
Unknown Object (File)
Sun, Sep 27, 11:55 PM
Unknown Object (File)
Sun, Sep 27, 4:34 AM
Unknown Object (File)
Sun, Sep 20, 3:13 PM
Subscribers

Details

Reviewers
None
Group Reviewers
network
pfsense
Commits
rGe044f67a66c8: pfctl: improve bitmask printing
Summary

In some cases the netmask gets set to a full 128 bit mask even if no
address family is selected; don't print the v6 mask if it's a v4 address.

Obtained from: OpenBSD, mcbride <mcbride@openbsd.org>, f6d7b41f07
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sep 19 2024, 8:21 PM
This revision was automatically updated to reflect the committed changes.