diff options
author | Samba Release Account <samba-bugs@samba.org> | 1996-11-06 20:27:50 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1996-11-06 20:27:50 +0000 |
commit | 724a529a20e410cc5db289062fb7d732011c8894 (patch) | |
tree | 39c720c2178de9436776afe24158265e76670777 /source3 | |
parent | bc25ddf6af7626eb23c3e72e27306f4458ddc27e (diff) | |
download | samba-724a529a20e410cc5db289062fb7d732011c8894.tar.gz samba-724a529a20e410cc5db289062fb7d732011c8894.tar.bz2 samba-724a529a20e410cc5db289062fb7d732011c8894.zip |
increased debug levels for name dump to same as that for workgroup dump
in log files. really verbose listings ought only to be shown at debug
log level 5 and above.
lkcl
(This used to be commit 6f0a4d71787cf64468cdba0b2f82288c71b1499b)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/namedbname.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/namedbname.c b/source3/namedbname.c index f9210dac40..196da10306 100644 --- a/source3/namedbname.c +++ b/source3/namedbname.c @@ -219,30 +219,30 @@ void dump_names(void) if (!f) { - DEBUG(4,("Can't open %s - %s\n",fnamenew,strerror(errno))); + DEBUG(3,("Can't open %s - %s\n",fnamenew,strerror(errno))); } - DEBUG(3,("Dump of local name table:\n")); + DEBUG(4,("Dump of local name table:\n")); for (d = subnetlist; d; d = d->next) for (n = d->namelist; n; n = n->next) { int i; - DEBUG(3,("%15s ", inet_ntoa(d->bcast_ip))); - DEBUG(3,("%15s ", inet_ntoa(d->mask_ip))); - DEBUG(3,("%-19s TTL=%ld ", + DEBUG(4,("%15s ", inet_ntoa(d->bcast_ip))); + DEBUG(4,("%15s ", inet_ntoa(d->mask_ip))); + DEBUG(4,("%-19s TTL=%ld ", namestr(&n->name), n->death_time?n->death_time-t:0)); for (i = 0; i < n->num_ips; i++) { - DEBUG(3,("%15s NB=%2x source=%d", + DEBUG(4,("%15s NB=%2x source=%d", inet_ntoa(n->ip_flgs[i].ip), n->ip_flgs[i].nb_flags,n->source)); } - DEBUG(3,("\n")); + DEBUG(4,("\n")); if (f && ip_equal(d->bcast_ip, ipgrp) && n->source == REGISTER) { |