diff options
author | 2002-02-14 19:46:49 +0000 | |
---|---|---|
committer | 2002-02-14 19:46:49 +0000 | |
commit | 98f4dbc0fb34d3e616a85a7b16d912395b5f0c4b (patch) | |
tree | e3cc556f8b89f59b3f79d74c5c9d2b2f8a89dfeb | |
parent | install PCS on vax from here (diff) | |
download | wireguard-openbsd-98f4dbc0fb34d3e616a85a7b16d912395b5f0c4b.tar.xz wireguard-openbsd-98f4dbc0fb34d3e616a85a7b16d912395b5f0c4b.zip |
KNF
-rw-r--r-- | sys/net/pf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index f654077abb9..d447c4b3349 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.188 2002/02/14 15:32:11 dhartmei Exp $ */ +/* $OpenBSD: pf.c,v 1.189 2002/02/14 19:46:49 deraadt Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -3901,7 +3901,7 @@ pf_test_state_tcp(struct pf_state **state, int direction, struct ifnet *ifp, if (direction == PF_OUT) pf_change_ap(pd->src, &th->th_sport, pd->ip_sum, &th->th_sum, &(*state)->gwy.addr, - (*state)->gwy.port, 0, pd->af); + (*state)->gwy.port, 0, pd->af); else pf_change_ap(pd->dst, &th->th_dport, pd->ip_sum, &th->th_sum, &(*state)->lan.addr, @@ -4056,7 +4056,7 @@ pf_test_state_icmp(struct pf_state **state, int direction, struct ifnet *ifp, #ifdef INET case AF_INET: pf_change_a(&saddr->v4.s_addr, - pd->ip_sum, + pd->ip_sum, (*state)->gwy.addr.v4.s_addr, 0); break; #endif /* INET */ |