summaryrefslogtreecommitdiff
path: root/libexec/bootpd
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2004-07-29 18:05:20 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2004-07-29 18:05:20 +0000
commitc27501e784918a8ee8277e52d022b20b97a751e9 (patch)
tree9a230c2b81ede69f813938573003314f715fe63b /libexec/bootpd
parent6902e7909996e6989b65f0477959676e7427bb9b (diff)
Notes
Diffstat (limited to 'libexec/bootpd')
-rw-r--r--libexec/bootpd/getif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/bootpd/getif.c b/libexec/bootpd/getif.c
index ec7cd8f716db..64e5edadb679 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;