From: Antonio Quartulli <ordex@autistici.org>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] [PATCH 2/2] batctl: tcpdump - print subtype for UNICAST4ADDR packets
Date: Tue, 2 Apr 2013 15:41:55 +0200 [thread overview]
Message-ID: <20130402134155.GK4024@ritirata.org> (raw)
In-Reply-To: <201304021641.31457.lindner_marek@yahoo.de>
[-- Attachment #1: Type: text/plain, Size: 1204 bytes --]
On Tue, Apr 02, 2013 at 04:41:31PM +0800, Marek Lindner wrote:
> On Monday, April 01, 2013 04:03:18 Antonio Quartulli wrote:
> > Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> > ---
> > tcpdump.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/tcpdump.c b/tcpdump.c
> > index 39239dd..bf4edd4 100644
> > --- a/tcpdump.c
> > +++ b/tcpdump.c
> > @@ -562,7 +562,8 @@ static void dump_batman_4addr(unsigned char
> > *packet_buff, ssize_t buff_len, int
> >
> > printf("%s: 4ADDR, subtype %d, ttvn %d, ttl %hhu, ",
> > get_name_by_macaddr((struct ether_addr *)unicast_4addr_packet->u.dest, read_opt),
> > - unicast_4addr_packet->u.ttvn, unicast_4addr_packet->u.header.ttl);
> > + unicast_4addr_packet->subtype, unicast_4addr_packet->u.ttvn,
> > + unicast_4addr_packet->u.header.ttl);
> >
>
> You added the subtype printf format string with the previous patch
> already. You might want to fix this.
ops, thanks! I did not realised that when I created the two patches.
Thanks a lot.
Will send v2.
Cheers,
--
Antonio Quartulli
..each of us alone is worth nothing..
Ernesto "Che" Guevara
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2013-04-02 13:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-31 20:03 [B.A.T.M.A.N.] [PATCH 1/2] batctl: fix 4addr parsing in tcpdump Antonio Quartulli
2013-03-31 20:03 ` [B.A.T.M.A.N.] [PATCH 2/2] batctl: tcpdump - print subtype for UNICAST4ADDR packets Antonio Quartulli
2013-04-02 8:41 ` Marek Lindner
2013-04-02 13:41 ` Antonio Quartulli [this message]
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=20130402134155.GK4024@ritirata.org \
--to=ordex@autistici.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox