From 8ad60283be2c49d9db6d791c6b7f61080035ba7f Mon Sep 17 00:00:00 2001 From: Jean-François Micouleau Date: Thu, 4 Apr 2002 15:50:28 +0000 Subject: 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) --- source3/libsmb/namequery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb') 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) { -- cgit