add the port number to a debug statement
authorAndrew Tridgell <tridge@samba.org>
Wed, 15 Oct 1997 09:17:21 +0000 (09:17 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 15 Oct 1997 09:17:21 +0000 (09:17 +0000)
(This used to be commit 97d06dd05e952a134be26ec5998ec4b8d38991dd)

source3/libsmb/nmblib.c

index 48f988de2a205a5efc36c69997754377f7680bc9..e8f281bc257de1801890f2cf0a6c4ddadfd9adc7 100644 (file)
@@ -107,8 +107,8 @@ void debug_nmb_packet(struct packet_struct *p)
 {
   struct nmb_packet *nmb = &p->packet.nmb;
   
-  DEBUG(4,("nmb packet from %s header: id=%d opcode=%s(%d) response=%s\n",
-          inet_ntoa(p->ip),
+  DEBUG(4,("nmb packet from %s(%d) header: id=%d opcode=%s(%d) response=%s\n",
+          inet_ntoa(p->ip), p->port,
           nmb->header.name_trn_id,
            lookup_opcode_name(nmb->header.opcode),
            nmb->header.opcode,BOOLSTR(nmb->header.response)));