All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <antonio@meshcoding.com>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <antonio@meshcoding.com>
Subject: [B.A.T.M.A.N.] [PATCH] batctl: add missing break
Date: Mon, 10 Nov 2014 08:41:31 +0100	[thread overview]
Message-ID: <1415605291-2060-1-git-send-email-antonio@meshcoding.com> (raw)

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


             reply	other threads:[~2014-11-10  7:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10  7:41 Antonio Quartulli [this message]
2014-11-16  5:42 ` [B.A.T.M.A.N.] [PATCH] batctl: add missing break Marek Lindner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1415605291-2060-1-git-send-email-antonio@meshcoding.com \
    --to=antonio@meshcoding.com \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.