diff options
author | Jean-François Micouleau <jfm@samba.org> | 2002-04-04 15:50:28 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2002-04-04 15:50:28 +0000 |
commit | 8ad60283be2c49d9db6d791c6b7f61080035ba7f (patch) | |
tree | 07397c1fdfbd4e72a0a5fa5503ee9149d1381477 /source3 | |
parent | 31f1c2172ca8a8a32c69a06a9388daecfc9c25ce (diff) | |
download | samba-8ad60283be2c49d9db6d791c6b7f61080035ba7f.tar.gz samba-8ad60283be2c49d9db6d791c6b7f61080035ba7f.tar.bz2 samba-8ad60283be2c49d9db6d791c6b7f61080035ba7f.zip |
small change in name_resolve_bcast()
spotted by alexander bokovoy.
it shouldn't break anything. if it's wrong, feel free to revert but
explain why.
J.F.
(This used to be commit 638c692525c050ecdf414d461ef6b4aed3ce51db)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/namequery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index cd175dcd1d..7928d44652 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -671,7 +671,7 @@ BOOL name_resolve_bcast(const char *name, int name_type, for( i = num_interfaces-1; i >= 0; i--) { struct in_addr sendto_ip; /* Done this way to fix compiler error on IRIX 5.x */ - sendto_ip = *iface_bcast(*iface_n_ip(i)); + sendto_ip = *iface_n_bcast(i); *return_ip_list = name_query(sock, name, name_type, True, True, sendto_ip, return_count); if(*return_ip_list != NULL) { |