diff options
-rw-r--r-- | libexec/bootpd/getif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/bootpd/getif.c b/libexec/bootpd/getif.c index ec7cd8f..64e5eda 100644 --- a/libexec/bootpd/getif.c +++ b/libexec/bootpd/getif.c @@ -86,7 +86,7 @@ getif(s, addrp) while (len > 0) { ifrq = (struct ifreq *) p; sip = (struct sockaddr_in *) &ifrq->ifr_addr; - m = nmatch(addrp, &(sip->sin_addr)); + m = nmatch((u_char *)addrp, (u_char *)&(sip->sin_addr)); if (m > maxmatch) { maxmatch = m; ifrmax = ifrq; |