Date: Fri, 27 Jun 2025 15:16:17 GMT From: Kristof Provost <kp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 5f739302ba0a - main - pfctl: Zap dead code Message-ID: <202506271516.55RFGHdM049248@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=5f739302ba0ab615ba640b0c65d85d67dd826cc8 commit 5f739302ba0ab615ba640b0c65d85d67dd826cc8 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2025-06-24 11:52:53 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2025-06-27 14:55:17 +0000 pfctl: Zap dead code Commented since r1.465 (2004). OK deraadt benno jca sashan Obtained from: OpenBSD, kn <kn@openbsd.org>, 478eec1c5a Sponsored by: Rubicon Communications, LLC ("Netgate") --- sbin/pfctl/parse.y | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 39d5ba317653..9b89dc7642c5 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -2492,14 +2492,6 @@ pfrule : action dir logquick interface route af proto fromto "apply to tcp"); YYERROR; } -#if 0 - if (($9.flags.b1 & parse_flags("S")) == 0 && - $8.src_os) { - yyerror("OS fingerprinting requires " - "the SYN TCP flag (flags S/SA)"); - YYERROR; - } -#endif } r.tos = $9.tos;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506271516.55RFGHdM049248>