]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: stop resolving hosts as dns that use ":" modifier
authorFranco Fichtner <franco@opnsense.org>
Mon, 8 Aug 2022 16:31:02 +0000 (18:31 +0200)
committerKristof Provost <kp@FreeBSD.org>
Mon, 8 Aug 2022 16:31:52 +0000 (18:31 +0200)
commit28b64169eace3477abbd50c18163d37c45cf273a
tree83699c64ac84f04422006a6dc528ea2b58ccb4c3
parent45add40717c24ef0b5418664fae1718b15a0422b
pf: stop resolving hosts as dns that use ":" modifier

When the interface does not exist avoid passing host with special pf
modifiers to DNS resolution as they come up empty anyway.

Reviewed by: kp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35429
sbin/pfctl/pfctl_parser.c