public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <ordex@autistici.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: add BAT_UNICAST_4ADDR handler in the packet-handlers array
Date: Thu, 15 Mar 2012 18:21:58 +0100	[thread overview]
Message-ID: <20120315172157.GE2990@ritirata.org> (raw)
In-Reply-To: <1331830115-16407-1-git-send-email-ordex@autistici.org>

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

On Thu, Mar 15, 2012 at 05:48:35PM +0100, Antonio Quartulli wrote:
> Commit 1887248c268928ebb434edab611978f51e2a4b8f introduced the packet-handlers
> array but it forgot to set a proper handler for the BAT_UNICAST_4ADDR packet
> type. This patch fixes it.
> 
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>

Sorry, but I forgot to say that this bug has been:

Reported-By: Martin Hundebøll <martin@hundeboll.net>

> ---
>  main.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/main.c b/main.c
> index 75938fb..0757c2d 100644
> --- a/main.c
> +++ b/main.c
> @@ -265,6 +265,8 @@ static void recv_handler_init(void)
>  
>  	/* batman icmp packet */
>  	recv_packet_handler[BAT_ICMP] = recv_icmp_packet;
> +	/* unicast with 4 addresses packet */
> +	recv_packet_handler[BAT_UNICAST_4ADDR] = recv_unicast_packet;
>  	/* unicast packet */
>  	recv_packet_handler[BAT_UNICAST] = recv_unicast_packet;
>  	/* fragmented unicast packet */
> -- 
> 1.7.3.4
> 

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2012-03-15 17:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-15 16:48 [B.A.T.M.A.N.] [PATCH] batman-adv: add BAT_UNICAST_4ADDR handler in the packet-handlers array Antonio Quartulli
2012-03-15 17:21 ` Antonio Quartulli [this message]
2012-03-20 12:53   ` 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=20120315172157.GE2990@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