diff options
| author | Brian Somers <brian@FreeBSD.org> | 1998-01-23 22:29:16 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1998-01-23 22:29:16 +0000 |
| commit | 2e8ab8d16adbc0805e0b32447c5970ccd4fe2f93 (patch) | |
| tree | f2b42408b1ad49df29b620d5ac9cc24c60fa3b2a | |
| parent | 813bfe4d8884634762dd724924ba1c8ca8dd9974 (diff) | |
Notes
| -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 963c154459eb..4651159858a0 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.24 1998/01/21 12:52:14 brian Exp $ + * $Id: arp.c,v 1.25 1998/01/23 21:37:27 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: |
