1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Stop bogus warnings.

This commit is contained in:
Brian Somers 1998-01-23 22:29:16 +00:00
parent 813bfe4d88
commit 2e8ab8d16a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32722

View File

@ -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: