summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-22 05:17:48 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-22 05:17:48 +0000
commit3ca5c03d84e77a1f1375ea037b58f0c4cfd312dc (patch)
tree08c96102a13b67181a9e94fb345678e0ae76287b
parent3b0f9dccc5c53bb29c93ef989d2b46123b66bb55 (diff)
-Wall
-rw-r--r--usr.sbin/ipftest/ipt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ipftest/ipt.c b/usr.sbin/ipftest/ipt.c
index 6f1ec19f6c6..eabf0795fb4 100644
--- a/usr.sbin/ipftest/ipt.c
+++ b/usr.sbin/ipftest/ipt.c
@@ -41,7 +41,7 @@
#if !defined(lint) && defined(LIBC_SCCS)
static char sccsid[] = "@(#)ipt.c 1.19 6/3/96 (C) 1993-1996 Darren Reed";
-static char rcsid[] = "$Id: ipt.c,v 1.9 1997/04/19 19:10:22 kstailey Exp $";
+static char rcsid[] = "$Id: ipt.c,v 1.10 1997/09/22 05:17:47 millert Exp $";
#endif
extern int fr_check();
@@ -175,7 +175,7 @@ char *argv[];
while ((i = (*r->r_readip)(buf, sizeof(buf), &iface, &dir)) > 0) {
ip->ip_off = ntohs(ip->ip_off);
ip->ip_len = ntohs(ip->ip_len);
- switch (fr_check(ip, ip->ip_hl << 2, iface, dir)) /* XXX */
+ switch (fr_check(ip, ip->ip_hl << 2, (struct ifnet *)iface, dir)) /* XXX */
{
case -1 :
(void)printf("block");