0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

print hex of id also

This commit is contained in:
Eliot Horowitz 2009-09-11 13:23:22 -04:00
parent 73329a93a0
commit fdc8d61ba3

View File

@ -222,7 +222,7 @@ void got_packet(u_char *args, const struct pcap_pkthdr *header, const u_char *pa
<< inet_ntoa(ip->ip_dst) << ":" << ntohs( tcp->th_dport )
<< " " << d.getns()
<< " " << m.data->len << " bytes "
<< m.data->id;
<< " id:" << hex << m.data->id << dec << "\t" << m.data->id;
if ( m.data->operation() == mongo::opReply )
cout << " - " << m.data->responseTo;