1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

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

from Volker's patch.
Jeremy.
This commit is contained in:
Jeremy Allison 2007-10-27 12:51:38 -07:00
parent e17d3e10e8
commit 9f82a57669

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 */