diff options
-rw-r--r-- | source3/namedbname.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/namedbname.c b/source3/namedbname.c index 6cd89df523..0ec8cdbbbe 100644 --- a/source3/namedbname.c +++ b/source3/namedbname.c @@ -529,13 +529,6 @@ struct name_record *search_for_name(struct subnet_record **d, if (*d == NULL) return NULL; - if (!n && (search & FIND_SELF)) { - DEBUG(3,("FIND_SELF set - failing lookup\n")); - return NULL; - } - - DEBUG(4,("subnet %s ", inet_ntoa((*d)->bcast_ip))); - /* now try DNS lookup. */ if (!n) { |