svn commit: samba r4901 - in branches/SAMBA_4_0/source/libcli/nbt: .
tridge at samba.org
tridge at samba.org
Fri Jan 21 13:39:33 GMT 2005
Author: tridge
Date: 2005-01-21 13:39:33 +0000 (Fri, 21 Jan 2005)
New Revision: 4901
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4901
Log:
a bit more info on nbt packets under high debug level
Modified:
branches/SAMBA_4_0/source/libcli/nbt/nbtsocket.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/nbt/nbtsocket.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/nbt/nbtsocket.c 2005-01-21 13:29:24 UTC (rev 4900)
+++ branches/SAMBA_4_0/source/libcli/nbt/nbtsocket.c 2005-01-21 13:39:33 UTC (rev 4901)
@@ -83,7 +83,8 @@
size_t len;
if (DEBUGLVL(10)) {
- DEBUG(10,("Sending nbt packet:\n"));
+ DEBUG(10,("Sending nbt packet to %s:%d\n",
+ req->dest_addr, req->dest_port));
NDR_PRINT_DEBUG(nbt_name_packet, req->request);
}
@@ -156,6 +157,7 @@
return;
}
talloc_steal(tmp_ctx, src_addr);
+ blob.length = nread;
packet = talloc(tmp_ctx, struct nbt_name_packet);
if (packet == NULL) {
@@ -173,7 +175,8 @@
}
if (DEBUGLVL(10)) {
- DEBUG(10,("Received nbt packet:\n"));
+ DEBUG(10,("Received nbt packet of length %d from %s:%d\n",
+ blob.length, src_addr, src_port));
NDR_PRINT_DEBUG(nbt_name_packet, packet);
}
More information about the samba-cvs
mailing list