summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw2.c
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2003-11-20 10:28:33 +0000
committermaxim <maxim@FreeBSD.org>2003-11-20 10:28:33 +0000
commit18a4a482e18cdff1b46c621b046c43d87e244ce3 (patch)
tree1145dfc30b67acfcfa2cfadb6683c31b7418488e /sys/netinet/ip_fw2.c
parentd5c8fd315b3b75b6ce12e3afacba0d9235630eec (diff)
downloadFreeBSD-src-18a4a482e18cdff1b46c621b046c43d87e244ce3.zip
FreeBSD-src-18a4a482e18cdff1b46c621b046c43d87e244ce3.tar.gz
Fix an arguments order in check_uidgid() call.
PR: kern/59314 Submitted by: Andrey V. Shytov Approved by: re (rwatson, jhb)
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r--sys/netinet/ip_fw2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index 0767634..3682264 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -1653,8 +1653,8 @@ check_body:
match = check_uidgid(
(ipfw_insn_u32 *)cmd,
proto, oif,
- src_ip, src_port,
- dst_ip, dst_port);
+ dst_ip, dst_port,
+ src_ip, src_port);
break;
case O_RECV:
OpenPOWER on IntegriCloud