git: c530c80ef22e - main - pf: fix reverse direction dummynet
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 15:42:15 UTC
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; }