diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-04-30 14:30:39 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-04-30 14:30:39 +0200 |
commit | 1b5611fafbed8d0e04a17b2a53ff78b003165598 (patch) | |
tree | 6050444fa685ef852a9b77fa776dd3f6e5dd7588 /ring_rx.c | |
parent | 47bdd9425177dd5f80b43ba10372ca1750df4ac2 (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_rx.c')
-rw-r--r-- | ring_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ void setup_rx_ring_layout(int sock, struct ring *ring, size_t size, ring_verify_layout(ring); } -void create_rx_ring(int sock, struct ring *ring, int verbose) +void create_rx_ring(int sock, struct ring *ring, bool verbose) { int ret; bool v3 = get_sockopt_tpacket(sock) == TPACKET_V3; |