diff options
author | kan <kan@FreeBSD.org> | 2004-07-29 18:05:20 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2004-07-29 18:05:20 +0000 |
commit | 44ddf6cddd77c0720f9d04d984282bb298e2018d (patch) | |
tree | 9a230c2b81ede69f813938573003314f715fe63b /libexec/bootpd | |
parent | ed22bf5a6696a8889c5b7ee026ae9173bec9482d (diff) | |
download | FreeBSD-src-44ddf6cddd77c0720f9d04d984282bb298e2018d.zip FreeBSD-src-44ddf6cddd77c0720f9d04d984282bb298e2018d.tar.gz |
Call nmatch function with parameters casted to types the function actually
expects.
Diffstat (limited to 'libexec/bootpd')
-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; |