-#if 0
- debug(("Got packet len=%d pad=%d\r\n", st->len, st->pad));
- for (st->i = 0; st->i < st->packetlen; st->i++)
- debug((" %02x", (unsigned char)pktin.data[st->i]));
- debug(("\r\n"));
+#ifdef DUMP_PACKETS
+ debug(("Got packet len=%d pad=%d\n", st->len, st->pad));
+ dmemdump(pktin.data, st->packetlen);