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
F174868671: D31749.id95555.diff
Tue, Oct 6, 4:07 PM
F174860789: D31749.id103391.diff
Tue, Oct 6, 2:48 PM
F174859117: D31749.id96823.diff
Tue, Oct 6, 2:31 PM
F174857944: D31749.id94425.diff
Tue, Oct 6, 2:18 PM
F174857027: D31749.id95946.diff
Tue, Oct 6, 2:07 PM
F174813901: D31749.diff
Tue, Oct 6, 4:10 AM
Unknown Object (File)
Mon, Oct 5, 9:04 AM
Unknown Object (File)
Sun, Oct 4, 4:24 AM
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.