summaryrefslogtreecommitdiff
path: root/source3/nameserv.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-06-02 19:51:56 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-06-02 19:51:56 +0000
commit094f7ce427dba7299c8b08c695812d191e382d06 (patch)
treedc4c5a61e08f89192b4b9f856a0008d36946c6ca /source3/nameserv.c
parent7be4b90f260a3b982da5ce39b632d5d5babd104a (diff)
downloadsamba-094f7ce427dba7299c8b08c695812d191e382d06.tar.gz
samba-094f7ce427dba7299c8b08c695812d191e382d06.tar.bz2
samba-094f7ce427dba7299c8b08c695812d191e382d06.zip
nameannounce.c: Made sure recurse flag set correctly.
namedbname.c: Made sure wins.dat updated when list changes. Changed to returning 255.255.255.255 when 1e name queried. namepacket.c: Made sure recurse flags set correctly. nameserv.c: Made sure recurse flags set correctly. nameservreply.c: Made send_name_response() static, Made sure recurse flags set correctly. Changed to returning 255.255.255.255 when 1e name queried. proto.h: Removed send_name_response(). Jeremy jallison@whistle.com (This used to be commit 4e9fd24f65971bbbda5f76499e5d14f90eef8038)
Diffstat (limited to 'source3/nameserv.c')
-rw-r--r--source3/nameserv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nameserv.c b/source3/nameserv.c
index aba7ddadb6..f1b34482c8 100644
--- a/source3/nameserv.c
+++ b/source3/nameserv.c
@@ -115,7 +115,7 @@ void remove_name_entry(struct subnet_record *d, char *name,int type, BOOL direct
/* local interface: release them on the network */
queue_netbios_packet(d,ClientNMB,NMB_REL,NAME_RELEASE,
name, type, 0, 0,0,NULL,NULL,
- True, True, d->bcast_ip, d->bcast_ip);
+ True, False, d->bcast_ip, d->bcast_ip);
}
}
@@ -191,7 +191,7 @@ void add_my_name_entry(struct subnet_record *d,char *name,int type,int nb_flags,
queue_netbios_packet(d,ClientNMB,
re_reg ? NMB_REG_REFRESH : NMB_REG, NAME_REGISTER,
name, type, nb_flags, GET_TTL(0),0,NULL,NULL,
- True, True, d->bcast_ip, ipzero);
+ True, False, d->bcast_ip, ipzero);
}
}
}
@@ -273,7 +273,7 @@ on workgroup %s\n", myworkgroup));
queue_netbios_pkt_wins(ClientNMB,NMB_QUERY,NAME_QUERY_DOMAIN,
myworkgroup, 0x1b,
0, 0,0,NULL,NULL,
- False, False, ipzero, ipzero);
+ False, True, ipzero, ipzero);
}
}
else