diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-12-10 16:58:24 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-12-10 17:01:33 +0100 |
commit | 0a9adf482d5bb2cf27ede0f970228b9f69145f4d (patch) | |
tree | 2f89d301fbb7dc90dcd9e263cb5bb88138bbfccc /sock.c | |
parent | c16b914a728f2786aaa4e1c44c092c3faaf1df48 (diff) |
sock: change type of verbose parameter to set_sock_qdisc_bypass()
Verbose mode is a boolean option and is already defined as type bool in
trafgen, so make the corresponding parameter to set_sock_qdisc_bypass()
of type bool too.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'sock.c')
-rw-r--r-- | sock.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -55,10 +55,10 @@ int pf_socket_type(uint32_t type) } } -/* Avail in kernel >= 3.14 +/* Available in kernel >= 3.14 * in commit d346a3fae3 (packet: introduce PACKET_QDISC_BYPASS socket option) */ -void set_sock_qdisc_bypass(int fd, int verbose) +void set_sock_qdisc_bypass(int fd, bool verbose) { int ret, val = 1; |