- dbprintf(("%s: pkt: %s (t %d) orig REQ (t %d cur %d)\n",
- debug_prefix(": protocol"),
- pkt_type2str(pkt->type), (int)CURTIME,
- (int)p->origtime, (int)p->curtime));
- dbprintf(("%s: pkt contents:\n-----\n%s-----\n",
- debug_prefix(": protocol"), pkt->body));
+ proto_debug(1, ("%s: pkt: %s (t %d) orig REQ (t %d cur %d)\n",
+ debug_prefix_time(": protocol"),
+ pkt_type2str(pkt->type), (int)CURTIME,
+ (int)p->origtime, (int)p->curtime));
+ proto_debug(1, ("%s: pkt contents:\n-----\n%s-----\n",
+ debug_prefix_time(": protocol"), pkt->body));