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 /source3/lib/wins_srv.c | |
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 'source3/lib/wins_srv.c')
-rw-r--r-- | source3/lib/wins_srv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/wins_srv.c b/source3/lib/wins_srv.c index 0e184a6b7c..b2c0bf8b87 100644 --- a/source3/lib/wins_srv.c +++ b/source3/lib/wins_srv.c @@ -183,11 +183,11 @@ static void parse_ip(struct tagged_ip *ip, const char *str) char *s = strchr(str, ':'); if (!s) { fstrcpy(ip->tag, "*"); - (void)interpret_addr2(&ip->ip,str); + ip->ip = interpret_addr2(str); return; } - (void)interpret_addr2(&ip->ip,s+1); + ip->ip = interpret_addr2(s+1); fstrcpy(ip->tag, str); s = strchr(ip->tag, ':'); if (s) { |