From patchwork Wed Apr 18 09:15:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Lindner X-Patchwork-Id: 1781 Return-Path: Received: from nm7-vm0.bullet.mail.ukl.yahoo.com (nm7-vm0.bullet.mail.ukl.yahoo.com [217.146.183.236]) by open-mesh.org (Postfix) with SMTP id 1B14E6007C9 for ; Wed, 18 Apr 2012 11:16:12 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@yahoo.de; dkim-adsp=none Received: from [217.146.183.211] by nm7.bullet.mail.ukl.yahoo.com with NNFMP; 18 Apr 2012 09:16:11 -0000 Received: from [77.238.184.69] by tm4.bullet.mail.ukl.yahoo.com with NNFMP; 18 Apr 2012 09:16:11 -0000 Received: from [127.0.0.1] by smtp138.mail.ukl.yahoo.com with NNFMP; 18 Apr 2012 09:16:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1334740571; bh=oVXidHWxT+hpWGsCIaWRPhw7uI/StBqpoqpsqUqOMc4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer; b=pZv6T8/42GglXn4qXDMfR5LQ+oLG8keiSgkERqjI3DVPraPRLCvrTCfWsfpeQpotpYa98q9vPNmpTcnUrsJtqlHiaMJM6NhhiFUxjun3Pem9ZEuIT1g98guSx/7Becpsl87L8HL9uQEsEc15iU6GWLviaHwg/k0kf/cX7iVPvcM= X-Yahoo-Newman-Id: 617501.97219.bm@smtp138.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 7KHeBdUVM1kgXx6myTVTGbJaNxmj.wh3dUTdVKLyZNsy3Hw sn8pgvYCyt31ucIrwNyR_HvA3hpHry22sn.U3NV6gqneSPEulNswxZlsTk34 rB1h5gZ4oNqDlgixuzwkJBsBMMWsw_Yp7RZZzvp8t8kgylKBlQFIWW8faxro GWY59_.9fR1a1mFXI_HzY1ToCy6k1xej44eM.Fj6nHLXdGQfkjMXh2gZTlZB L_panT3TVGzXltuKqNx2lxZbGbYszZqj3PkbmgCWgQVcNvJE602Yw1tOd1XD yqH9Vbd8KiybMDW4o2WSwn.LnP3lWVRYCzuUSXOMAtggAkAdE0fqOp.7AOqQ IKo2mQeWLlOJOJko9saJ5DmothjRy7cSPitciuUoBmg7qh2jSqOFuGPM5kG1 9gw-- X-Yahoo-SMTP: tW.h3tiswBBMXO2coYcbPigGD5Lt6zY_.Zc- Received: from localhost (lindner_marek@210.177.7.38 with plain) by smtp138.mail.ukl.yahoo.com with SMTP; 18 Apr 2012 09:16:10 +0000 GMT From: Marek Lindner To: b.a.t.m.a.n@lists.open-mesh.org Date: Wed, 18 Apr 2012 17:15:57 +0800 Message-Id: <1334740557-7848-1-git-send-email-lindner_marek@yahoo.de> X-Mailer: git-send-email 1.7.9.1 Cc: Marek Lindner Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: avoid characters requiring shell escapes in protocol names X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2012 09:16:12 -0000 Reported-by: Andrew Lunn Signed-off-by: Marek Lindner --- bat_iv_ogm.c | 2 +- main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bat_iv_ogm.c b/bat_iv_ogm.c index ed743a4..19da9d5 100644 --- a/bat_iv_ogm.c +++ b/bat_iv_ogm.c @@ -1233,7 +1233,7 @@ static int bat_iv_ogm_receive(struct sk_buff *skb, } static struct bat_algo_ops batman_iv __read_mostly = { - .name = "BATMAN IV", + .name = "BATMAN_IV", .bat_iface_enable = bat_iv_ogm_iface_enable, .bat_iface_disable = bat_iv_ogm_iface_disable, .bat_iface_update_mac = bat_iv_ogm_iface_update_mac, diff --git a/main.c b/main.c index 0757c2d..1d338a3 100644 --- a/main.c +++ b/main.c @@ -40,7 +40,7 @@ * list traversals just rcu-locked */ struct list_head hardif_list; static int (*recv_packet_handler[256])(struct sk_buff *, struct hard_iface *); -char bat_routing_algo[20] = "BATMAN IV"; +char bat_routing_algo[20] = "BATMAN_IV"; static struct hlist_head bat_algo_list; unsigned char broadcast_addr[] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};