1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

nmbd: Fix CID 1474439: Incorrect expression

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2021-03-23 11:58:19 +01:00 committed by Jeremy Allison
parent a4235cdad2
commit 7d25dfa6c1

View File

@ -155,7 +155,7 @@ static struct subnet_record *make_subnet(const char *name, enum subnet_type type
"interface %s for port %d: %s\n",
inet_ntoa(myip),
DGRAM_PORT,
strerror(-dgram_sock));
strerror(-dgram_bcast));
goto failed;
}
set_socket_options(dgram_bcast, "SO_BROADCAST");