diff options
author | phk <phk@FreeBSD.org> | 1996-01-10 21:28:04 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-01-10 21:28:04 +0000 |
commit | 525e36ce3e9516d50c97f25c011550e6cfec1edc (patch) | |
tree | efa94c4341ade4773e54c6aeb6ee691faaf4f071 /usr.sbin/ppp/arp.c | |
parent | b0a5a520276679c2b26968f7d92736114c95cc30 (diff) | |
download | FreeBSD-src-525e36ce3e9516d50c97f25c011550e6cfec1edc.zip FreeBSD-src-525e36ce3e9516d50c97f25c011550e6cfec1edc.tar.gz |
A random bunch of cleanup changes.
Diffstat (limited to 'usr.sbin/ppp/arp.c')
-rw-r--r-- | usr.sbin/ppp/arp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c index 4969f2d..8ff7d8b 100644 --- a/usr.sbin/ppp/arp.c +++ b/usr.sbin/ppp/arp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: arp.c,v 1.1 1995/02/26 12:17:09 amurai Exp $ + * $Id: arp.c,v 1.2 1995/05/30 03:50:23 rgrimes Exp $ * */ @@ -27,9 +27,12 @@ #include <sys/ioctl.h> #include <sys/types.h> +#include <sys/uio.h> #include <sys/socket.h> #include <sys/time.h> #include <sys/errno.h> +#include <unistd.h> +#include <string.h> #include <net/if.h> #include <net/route.h> @@ -83,7 +86,6 @@ sifproxyarp(unit, hisaddr) u_long hisaddr; { int routes; - int l; /* * Get the hardware address of an interface on the same subnet @@ -237,7 +239,6 @@ get_ether_addr(s, ipaddr, hwaddr) struct ifreq ifreq; struct ifconf ifc; struct ifreq ifs[MAX_IFS]; - struct ifreq ifx; ifc.ifc_len = sizeof(ifs); ifc.ifc_req = ifs; |