Page MenuHomeFreeBSD

pfctl: Don't print (ether) to / from if they're not set
ClosedPublic

Authored by kp on Aug 31 2021, 8:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 26, 9:19 PM
Unknown Object (File)
Sun, Mar 22, 12:06 AM
Unknown Object (File)
Feb 15 2026, 10:08 PM
Unknown Object (File)
Feb 15 2026, 10:08 PM
Unknown Object (File)
Feb 14 2026, 7:08 PM
Unknown Object (File)
Feb 8 2026, 1:08 PM
Unknown Object (File)
Feb 8 2026, 7:11 AM
Unknown Object (File)
Feb 7 2026, 10:29 PM
Subscribers

Details

Summary

If we're not filtering on a specific MAC address don't print it at all,
rather than showing an all-zero address.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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

Event Timeline

Don't print from/to when not set.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 2 2022, 4:02 PM
This revision was automatically updated to reflect the committed changes.