summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbfilter.c3
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) {