diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-05 23:17:19 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-05 23:17:19 -0800 |
commit | 85b48d792f915def5521e83f11aa0c13f9a0de6b (patch) | |
tree | 6d6034289b96b6c09fbc1193c2da1b123093df9c | |
parent | 002060855fecdc22082efc7ef80b3971f5ef87fd (diff) | |
download | samba-85b48d792f915def5521e83f11aa0c13f9a0de6b.tar.gz samba-85b48d792f915def5521e83f11aa0c13f9a0de6b.tar.bz2 samba-85b48d792f915def5521e83f11aa0c13f9a0de6b.zip |
Ensure we null out the address correctly.
Jeremy.
(This used to be commit e1fcd851ab38165eb0e959cdc02ff067614f8b28)
-rw-r--r-- | source3/utils/smbfilter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/smbfilter.c b/source3/utils/smbfilter.c index 79b8873888..2051c606a0 100644 --- a/source3/utils/smbfilter.c +++ b/source3/utils/smbfilter.c @@ -181,7 +181,8 @@ static void start_filter(char *desthost) CatchChild(); /* start listening on port 445 locally */ - my_ss.ss_family = AF_INET; + + zero_addr(&my_ss); s = open_socket_in(SOCK_STREAM, 445, 0, &my_ss, True); if (s == -1) { |