summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcbride <mcbride@openbsd.org>2003-01-18 06:31:59 +0000
committermcbride <mcbride@openbsd.org>2003-01-18 06:31:59 +0000
commitb29584f2e403e6f8168d5e242c92dba118fa269e (patch)
tree8ba9686f5f9ae396025025fdb4248524be8d2f42
parentAdd "static-port" to some of the nat rule tests. (diff)
downloadwireguard-openbsd-b29584f2e403e6f8168d5e242c92dba118fa269e.tar.xz
wireguard-openbsd-b29584f2e403e6f8168d5e242c92dba118fa269e.zip
Argh! KNF.
pointed out in advance by dhartmei@
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 10103267e0e..146b16fee96 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.303 2003/01/18 05:07:45 mcbride Exp $ */
+/* $OpenBSD: pf.c,v 1.304 2003/01/18 06:31:59 mcbride Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1700,7 +1700,7 @@ pf_get_translation(int direction, struct ifnet *ifp, u_int8_t proto,
break;
case PF_NAT:
if (pf_get_sport(af, proto, &r->rpool, saddr, daddr,
- dport, naddr, nport,r->rpool.proxy_port[0],
+ dport, naddr, nport, r->rpool.proxy_port[0],
r->rpool.proxy_port[1])) {
DPFPRINTF(PF_DEBUG_MISC,
("pf: NAT proxy port allocation "