diff options
| author | Julian Elischer <julian@FreeBSD.org> | 1998-06-06 20:45:28 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 1998-06-06 20:45:28 +0000 |
| commit | 3ed81d03b3b67b04c686caa1e19577bb5f3d17db (patch) | |
| tree | f055847556d2d39175c868aea075b299dea50f07 /sys/netinet/ip_fw.c | |
| parent | c977d4c735ef1946e65f7fe1b9b620446c26bb87 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/ip_fw.c')
| -rw-r--r-- | sys/netinet/ip_fw.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c index 0d978b4506f8..c85b77ce5663 100644 --- a/sys/netinet/ip_fw.c +++ b/sys/netinet/ip_fw.c @@ -12,7 +12,7 @@ * * This software is provided ``AS IS'' without any warranties of any kind. * - * $Id: ip_fw.c,v 1.86 1998/06/05 23:33:26 julian Exp $ + * $Id: ip_fw.c,v 1.87 1998/06/06 19:39:08 julian Exp $ */ /* @@ -104,7 +104,7 @@ static ip_fw_ctl_t *old_ctl_ptr; #endif static int ip_fw_chk __P((struct ip **pip, int hlen, - struct ifnet *oif, int *cookie, struct mbuf **m)); + struct ifnet *oif, u_int16_t *cookie, struct mbuf **m)); static int ip_fw_ctl __P((int stage, struct mbuf **mm)); static char err_prefix[] = "ip_fw_ctl:"; @@ -398,7 +398,7 @@ ipfw_report(struct ip_fw *f, struct ip *ip, static int ip_fw_chk(struct ip **pip, int hlen, - struct ifnet *oif, int *cookie, struct mbuf **m) + struct ifnet *oif, u_int16_t *cookie, struct mbuf **m) { struct ip_fw_chain *chain; struct ip_fw *rule = NULL; @@ -407,9 +407,9 @@ ip_fw_chk(struct ip **pip, int hlen, u_short offset = (ip->ip_off & IP_OFFMASK); u_short src_port, dst_port; #ifdef IPFW_DIVERT_OLDRESTART - int ignport = *cookie; + u_int16_t ignport = *cookie; #else - int skipto = *cookie; + u_int16_t skipto = *cookie; #endif /* IPFW_DIVERT_OLDRESTART */ *cookie = 0; |
