Page MenuHomeFreeBSD

pfctl: improve bitmask printing
ClosedPublic

Authored by kp on Sep 7 2024, 9:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 10, 10:56 AM
Unknown Object (File)
Sat, Nov 8, 3:03 AM
Unknown Object (File)
Sat, Nov 1, 6:40 AM
Unknown Object (File)
Wed, Oct 29, 4:26 AM
Unknown Object (File)
Tue, Oct 28, 10:17 PM
Unknown Object (File)
Sat, Oct 25, 12:49 AM
Unknown Object (File)
Fri, Oct 24, 11:43 PM
Unknown Object (File)
Fri, Oct 24, 3:55 AM
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.