Date: Fri, 6 May 2022 15:42:15 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: c530c80ef22e - main - pf: fix reverse direction dummynet Message-ID: <202205061542.246FgFZB050216@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=c530c80ef22eee3778e649add4920e83cc4b1af7 commit c530c80ef22eee3778e649add4920e83cc4b1af7 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2022-05-06 12:37:07 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2022-05-06 12:37:07 +0000 pf: fix reverse direction dummynet Due to a typo dnrpipe (i.e. the pipe for reverse direction traffic) was nevern assigned, preventing it from working correctly. Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/netpfil/pf/pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index b0d8d8c6e017..52ee54cd90af 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -3576,7 +3576,7 @@ pf_rule_to_actions(struct pf_krule *r, struct pf_rule_actions *a) if (r->dnpipe) a->dnpipe = r->dnpipe; if (r->dnrpipe) - a->dnpipe = r->dnrpipe; + a->dnrpipe = r->dnrpipe; if (r->free_flags & PFRULE_DN_IS_PIPE) a->flags |= PFRULE_DN_IS_PIPE; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205061542.246FgFZB050216>