Page MenuHomeFreeBSD

D34918.id.diff
No OneTemporary

D34918.id.diff

diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -783,12 +783,10 @@
printf(" to ");
print_eth_addr(&r->dst);
}
- if (r->proto == ETHERTYPE_IP || r->proto == ETHERTYPE_IPV6) {
- printf(" l3");
- print_fromto(&r->ipsrc, PF_OSFP_ANY, &r->ipdst,
- r->proto == ETHERTYPE_IP ? AF_INET : AF_INET6, 0,
- 0, 0);
- }
+ printf(" l3");
+ print_fromto(&r->ipsrc, PF_OSFP_ANY, &r->ipdst,
+ r->proto == ETHERTYPE_IP ? AF_INET : AF_INET6, 0,
+ 0, 0);
if (r->qname[0])
printf(" queue %s", r->qname);
if (r->tagname[0])

File Metadata

Mime Type
text/plain
Expires
Tue, Jun 9, 12:56 PM (9 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33831489
Default Alt Text
D34918.id.diff (623 B)

Event Timeline