Module Name: src Committed By: kiyohara Date: Sun Aug 4 07:05:15 UTC 2013
Modified Files: src/sys/net: if_ecosubr.c Log Message: Fix build failed, if undef INET. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/net/if_ecosubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/if_ecosubr.c diff -u src/sys/net/if_ecosubr.c:1.37 src/sys/net/if_ecosubr.c:1.38 --- src/sys/net/if_ecosubr.c:1.37 Sat Jun 29 21:06:58 2013 +++ src/sys/net/if_ecosubr.c Sun Aug 4 07:05:15 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ecosubr.c,v 1.37 2013/06/29 21:06:58 rmind Exp $ */ +/* $NetBSD: if_ecosubr.c,v 1.38 2013/08/04 07:05:15 kiyohara Exp $ */ /*- * Copyright (c) 2001 Ben Harris @@ -58,7 +58,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ecosubr.c,v 1.37 2013/06/29 21:06:58 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ecosubr.c,v 1.38 2013/08/04 07:05:15 kiyohara Exp $"); #include "opt_inet.h" @@ -355,8 +355,9 @@ eco_input(struct ifnet *ifp, struct mbuf { struct ifqueue *inq; struct eco_header ehdr, *eh; - int s, i; + int s; #ifdef INET + int i; struct arphdr *ah; struct eco_arp *ecah; struct mbuf *m1; @@ -464,7 +465,9 @@ eco_input(struct ifnet *ifp, struct mbuf printf("%s: unknown port stn %s port 0x%02x ctl 0x%02x\n", ifp->if_xname, eco_sprintf(eh->eco_shost), eh->eco_port, eh->eco_control); +#ifdef INET drop: +#endif m_freem(m); return; }