diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-23 20:41:15 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-23 20:41:15 +0200 |
commit | fe36fe8c3e76e3dd7c66ecdf7254dc01c5d065c0 (patch) | |
tree | 26830fe7d310fc098963401e743666608642445b /source4/lib/socket | |
parent | d1bc7e56d0584ef4f1051e39cd1a81182d63f096 (diff) | |
download | samba-fe36fe8c3e76e3dd7c66ecdf7254dc01c5d065c0.tar.gz samba-fe36fe8c3e76e3dd7c66ecdf7254dc01c5d065c0.tar.bz2 samba-fe36fe8c3e76e3dd7c66ecdf7254dc01c5d065c0.zip |
Use common net utility code (address and sockaddr manipulation).
Diffstat (limited to 'source4/lib/socket')
-rw-r--r-- | source4/lib/socket/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/socket/interface.c b/source4/lib/socket/interface.c index 842f2f66c5..524aa09655 100644 --- a/source4/lib/socket/interface.c +++ b/source4/lib/socket/interface.c @@ -49,7 +49,7 @@ static struct interface *iface_find(struct interface *interfaces, struct in_addr ip, bool CheckMask) { struct interface *i; - if (is_zero_ip(ip)) return interfaces; + if (is_zero_ip_v4(ip)) return interfaces; for (i=interfaces;i;i=i->next) if (CheckMask) { |