summaryrefslogtreecommitdiff
path: root/source3/namepacket.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/namepacket.c')
-rw-r--r--source3/namepacket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/namepacket.c b/source3/namepacket.c
index ba1c4044a3..3a23806a9c 100644
--- a/source3/namepacket.c
+++ b/source3/namepacket.c
@@ -626,7 +626,7 @@ BOOL listen_for_packets(BOOL run_election)
* If we got a packet on the broadcast socket and interfaces
* only is set then check it came from one of our local nets.
*/
- if(lp_interfaces_only() && (sock_array[i] == ClientNMB) &&
+ if(lp_bind_interfaces_only() && (sock_array[i] == ClientNMB) &&
(!is_local_net(packet->ip)))
{
DEBUG(7,("discarding nmb packet sent to broadcast socket from %s:%d\n",
@@ -660,7 +660,7 @@ BOOL listen_for_packets(BOOL run_election)
* If we got a packet on the broadcast socket and interfaces
* only is set then check it came from one of our local nets.
*/
- if(lp_interfaces_only() && (sock_array[i] == ClientDGRAM) &&
+ if(lp_bind_interfaces_only() && (sock_array[i] == ClientDGRAM) &&
(!is_local_net(packet->ip)))
{
DEBUG(7,("discarding dgram packet sent to broadcast socket from %s:%d\n",