[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-200-ge1fcd85

Jeremy Allison jra at samba.org
Tue Nov 6 07:17:46 GMT 2007


The branch, v3-2-test has been updated
       via  e1fcd851ab38165eb0e959cdc02ff067614f8b28 (commit)
      from  e2ffc6053dc9453fc49545db47374ed42e8efecd (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit e1fcd851ab38165eb0e959cdc02ff067614f8b28
Author: Jeremy Allison <jra at samba.org>
Date:   Mon Nov 5 23:17:19 2007 -0800

    Ensure we null out the address correctly.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/utils/smbfilter.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/utils/smbfilter.c b/source/utils/smbfilter.c
index 79b8873..2051c60 100644
--- a/source/utils/smbfilter.c
+++ b/source/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) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list