1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET)

from Volker's patch.
Jeremy.
(This used to be commit 9f82a57669)
This commit is contained in:
Jeremy Allison 2007-10-27 12:51:38 -07:00
parent a97b33baad
commit c7a7c08db5

View File

@ -146,7 +146,7 @@ static struct cli_state *do_connection(char *the_service)
make_nmb_name(&called , server, 0x20);
again:
zero_addr(&ip, INADDR_ANY);
zero_addr(&ip, AF_INET);
if (have_ip) ip = dest_ip;
/* have to open a new connection */