diff options
author | 1998-01-23 22:26:34 +0000 | |
---|---|---|
committer | 1998-01-23 22:26:34 +0000 | |
commit | 258d9d35bb57cf64b1a250e166e2faf8c8deb924 (patch) | |
tree | a441b4331ed9ebc3750142609e3700b03897d9f1 | |
parent | Re-implement the proxy arp sockaddr_dl search routine (again). (diff) | |
download | wireguard-openbsd-258d9d35bb57cf64b1a250e166e2faf8c8deb924.tar.xz wireguard-openbsd-258d9d35bb57cf64b1a250e166e2faf8c8deb924.zip |
Stop bogus warnings.
-rw-r--r-- | usr.sbin/ppp/arp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/arp.c b/usr.sbin/ppp/arp.c index 17c4bcdb3f8..b2fc59ad8be 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.8 1998/01/23 21:57:11 brian Exp $ + * $Id: arp.c,v 1.9 1998/01/23 22:26:34 brian Exp $ * */ @@ -299,6 +299,7 @@ get_ether_addr(int s, struct in_addr ipaddr, struct sockaddr_dl *hwaddr) LogPrintf(LogDEBUG, "%.*s interface is a candidate for proxy\n", dl->sdl_nlen, dl->sdl_data); b = 1; + ifa = mask = NULL; while (b < (RTA_NETMASK|RTA_IFA) && sa < (struct sockaddr *)ptr) { switch (b) { case RTA_IFA: |