diff options
Diffstat (limited to 'source4/libcli/resolve')
-rw-r--r-- | source4/libcli/resolve/bcast.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libcli/resolve/bcast.c b/source4/libcli/resolve/bcast.c index 5fb6e6dd5c..c47bba38c5 100644 --- a/source4/libcli/resolve/bcast.c +++ b/source4/libcli/resolve/bcast.c @@ -40,8 +40,7 @@ struct composite_context *resolve_name_bcast_send(struct nbt_name *name, if (address_list == NULL) return NULL; for (i=0;i<num_interfaces;i++) { - struct ipv4_addr *ip = iface_n_bcast(i); - address_list[i] = talloc_strdup(address_list, sys_inet_ntoa(*ip)); + address_list[i] = talloc_strdup(address_list, iface_n_bcast(i)); if (address_list[i] == NULL) { talloc_free(address_list); return NULL; |