summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nameresp.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/source3/nameresp.c b/source3/nameresp.c
index 77addc2985..b920742c76 100644
--- a/source3/nameresp.c
+++ b/source3/nameresp.c
@@ -176,13 +176,10 @@ static void dead_netbios_entry(struct subnet_record *d,
}
if (n->num_msgs == 0)
{
- if (ismyip(n->send_ip))
- {
- struct work_record *work = find_workgroupstruct(d,n->name.name,False);
- if (work && d)
- {
- become_domain_master(d,work);
- }
+ struct work_record *work = find_workgroupstruct(d,n->name.name,False);
+ if (work && d)
+ {
+ become_domain_master(d,work);
}
}
break;