diff options
author | Dug Song <dugsong@cvs.openbsd.org> | 2001-07-01 23:31:32 +0000 |
---|---|---|
committer | Dug Song <dugsong@cvs.openbsd.org> | 2001-07-01 23:31:32 +0000 |
commit | 8b28c41992777e4ce848fad22b51d8c63e03cef8 (patch) | |
tree | 60b385a464eef877be1d1a3b8375680702c690a1 | |
parent | 093938a4f8f5413efdc0ca560618da54bddad712 (diff) |
-Wall
-rw-r--r-- | sys/net/pf.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index b32f26807b2..83d48ba787f 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.92 2001/07/01 23:04:44 dhartmei Exp $ */ +/* $OpenBSD: pf.c,v 1.93 2001/07/01 23:31:31 dugsong Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -52,6 +52,7 @@ #include <netinet/in_var.h> #include <netinet/in_systm.h> #include <netinet/ip.h> +#include <netinet/ip_var.h> #include <netinet/tcp.h> #include <netinet/tcp_seq.h> #include <netinet/udp.h> @@ -1592,9 +1593,6 @@ pf_test_udp(int direction, struct ifnet *ifp, struct mbuf *m, PFLOG_PACKET(h, m, AF_INET, direction, reason, rm); if ((rm->action == PF_DROP) && rm->return_icmp) { - struct mbuf *m0; - struct m_tag *mtag; - /* undo NAT/RST changes, if they have taken place */ if (nat != NULL) { pf_change_ap(&h->ip_src.s_addr, &uh->uh_sport, |