aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcap-netmap.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/pcap-netmap.c b/pcap-netmap.c
index 5be943b4..f1505633 100644
--- a/pcap-netmap.c
+++ b/pcap-netmap.c
@@ -236,10 +236,11 @@ pcap_netmap_activate(pcap_t *p)
pcap_cleanup_live_common(p);
return (PCAP_ERROR);
}
- if (0)
- fprintf(stderr, "%s device %s priv %p fd %d ports %d..%d\n",
- __FUNCTION__, p->opt.device, d, d->fd,
- d->first_rx_ring, d->last_rx_ring);
+#if 0
+ fprintf(stderr, "%s device %s priv %p fd %d ports %d..%d\n",
+ __FUNCTION__, p->opt.device, d, d->fd,
+ d->first_rx_ring, d->last_rx_ring);
+#endif
pn->d = d;
p->fd = d->fd;