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)
Wed, Sep 9, 8:38 AM
Unknown Object (File)
Tue, Sep 8, 5:02 PM
Unknown Object (File)
Tue, Sep 8, 10:28 AM
Unknown Object (File)
Sun, Sep 6, 8:12 PM
Unknown Object (File)
Sun, Sep 6, 11:09 AM
Unknown Object (File)
Sun, Sep 6, 5:53 AM
Unknown Object (File)
Sat, Sep 5, 9:04 PM
Unknown Object (File)
Sat, Sep 5, 12:59 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41663
Build 38552: arc lint + arc unit

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.