summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1998-01-23 22:26:35 +0000
committerbrian <brian@cvs.openbsd.org>1998-01-23 22:26:35 +0000
commit56fd1450a2e4e7051eb89687027a291dbb04e83c (patch)
tree846b64aa99d272898d9ea0ab4ded67486d1c4bcc
parente4a7effa2c293a48d01046ee8c22a1b98b7486ae (diff)
Stop bogus warnings.
-rw-r--r--usr.sbin/ppp/arp.c3
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: