diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_sock.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 9ade23c8bc..dcc41bb699 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -482,8 +482,9 @@ int open_socket_in(int type, /* now we've got a socket - we need to bind it */ if (bind(res, (struct sockaddr *)&sock, slen) == -1 ) { - if( DEBUGLVL(dlevel) && (port == SMB_PORT1 || - port == SMB_PORT2 || port == NMB_PORT) ) { + if( DEBUGLVL(dlevel) && (port == NMB_PORT || + port == NBT_SMB_PORT || + port == TCP_SMB_PORT) ) { char addr[INET6_ADDRSTRLEN]; print_sockaddr(addr, sizeof(addr), &sock); |