[B.A.T.M.A.N.] [PATCH] batctl: add missing break

Antonio Quartulli
2014-11-10T07:41:31Z

Reaported-by: Coverity Scan
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
---
tcpdump.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/tcpdump.c b/tcpdump.c
index ad5469b..71e2dd9 100644
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -839,6 +839,7 @@ static void parse_eth_hdr(unsigned char *packet_buff, ssize_t buff_len, int read
case BATADV_UNICAST_4ADDR:
if (dump_level & DUMP_TYPE_BATUCAST)
dump_batman_4addr(packet_buff, buff_len, read_opt, time_printed);
+ break;
case BATADV_UNICAST_TVLV:
if ((dump_level & DUMP_TYPE_BATUCAST) ||
(dump_level & DUMP_TYPE_BATUTVLV))
--
2.1.3