summaryrefslogtreecommitdiffstats
path: root/source3/nameservresp.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-05-15 23:47:34 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-05-15 23:47:34 +0000
commit5495a3446d769a2501ee558bda54146bef507e78 (patch)
tree56612a03fb1b1f08d5816426fe49d56a0a980c8c /source3/nameservresp.c
parente896730fe71c984f41e3cd62d2f7eadb1cf3d51b (diff)
downloadsamba-5495a3446d769a2501ee558bda54146bef507e78.tar.gz
samba-5495a3446d769a2501ee558bda54146bef507e78.tar.xz
samba-5495a3446d769a2501ee558bda54146bef507e78.zip
namedbname.c: Fixed *nasty* bug that caused nmbd to spin and eat memory
and CPU whilst trying to become a master browser. Don't ask, you don't want to know :-). nameresp.c: Tidied formating of code. nameservresp.c: Added debug value of IP address that is rejecting our registration. jallison@whistle.com (This used to be commit c0bae276a99211c0c7149a5e4e801706870074fd)
Diffstat (limited to 'source3/nameservresp.c')
-rw-r--r--source3/nameservresp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nameservresp.c b/source3/nameservresp.c
index 565a1565656..27356d95e60 100644
--- a/source3/nameservresp.c
+++ b/source3/nameservresp.c
@@ -113,7 +113,8 @@ static void response_name_reg(struct nmb_name *ans_name,
}
else
{
- DEBUG(2,("name registration for %s rejected!\n", namestr(ans_name)));
+ DEBUG(2,("name registration for %s rejected by ip %s!\n",
+ namestr(ans_name), inet_ntoa(p->ip)));
/* oh dear. we have problems. possibly unbecome a master browser. */
name_unregister_work(d,name,type);