summaryrefslogtreecommitdiff
path: root/ring_tx.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-04-30 14:30:39 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-04-30 14:30:39 +0200
commit1b5611fafbed8d0e04a17b2a53ff78b003165598 (patch)
tree6050444fa685ef852a9b77fa776dd3f6e5dd7588 /ring_tx.h
parent47bdd9425177dd5f80b43ba10372ca1750df4ac2 (diff)
netsniff-ng/ring: Make verbose flag bool
Change type of verbose flag from int to bool. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ring_tx.h')
-rw-r--r--ring_tx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring_tx.h b/ring_tx.h
index 70dd401..ba8407a 100644
--- a/ring_tx.h
+++ b/ring_tx.h
@@ -15,7 +15,7 @@
#define TX_KERNEL_PULL_INT 10
extern void destroy_tx_ring(int sock, struct ring *ring);
-extern void create_tx_ring(int sock, struct ring *ring, int verbose);
+extern void create_tx_ring(int sock, struct ring *ring, bool verbose);
extern void mmap_tx_ring(int sock, struct ring *ring);
extern void alloc_tx_ring_frames(int sock, struct ring *ring);
extern void bind_tx_ring(int sock, struct ring *ring, int ifindex);