int match = 0;
struct sk_buff *skb = ((struct mbuf *)inp)->m_skb;
+#if 0 /* debug */
printf("%s opcode %d arg %d oif %p src 0x%x:%d dst 0x%x:%d\n", __FUNCTION__,
insn->o.opcode, insn->d[0], oif,
ntohl(src_ip.s_addr), ntohs(src_port),
ntohl(dst_ip.s_addr), ntohs(dst_port)
);
+#endif
if (insn->o.opcode == O_JAIL) {
#ifdef IPFW_PLANETLAB
match = (skb->skb_tag == insn->d[0]);
- printf("JAIL compiled for planetlab state %d xid %d want %d result %d\n",
+#if 0 /* debug */
+ printf("JAIL compiled for planetlab xid %d want %d result %d\n",
skb->skb_tag, insn->d[0], match);
+#endif
#endif
return match;