From patchwork Thu May 10 04:54:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Lindner X-Patchwork-Id: 1880 Return-Path: Received: from nm6.bullet.mail.ukl.yahoo.com (nm6.bullet.mail.ukl.yahoo.com [217.146.182.227]) by open-mesh.org (Postfix) with SMTP id CB5DE600872 for ; Thu, 10 May 2012 06:54:54 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@yahoo.de; dkim-adsp=none Received: from [217.146.183.215] by nm6.bullet.mail.ukl.yahoo.com with NNFMP; 10 May 2012 04:54:54 -0000 Received: from [77.238.184.75] by tm8.bullet.mail.ukl.yahoo.com with NNFMP; 10 May 2012 04:54:54 -0000 Received: from [127.0.0.1] by smtp144.mail.ukl.yahoo.com with NNFMP; 10 May 2012 04:54:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1336625694; bh=Qdd91CcYmbyogwSXm774GClj+J/KP7hs1zb08ubzXqs=; 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:In-Reply-To:References; b=Rk7uCENX+HHLJvRytqd+MP+RwNI1rEJNH9jRw+Oh57molB1J6YSnFeZuzhiaFWpLHPzGBpH0UzfmjCj0DtBYRTTsFkUlXNr60wT8V+8HZNOLFfnH8Qt6Rh434tNSnNPVhdlgnUUYbj/EFlV0Ym6tQ+L1lxhXmgM7XInjPTf1Xr8= X-Yahoo-Newman-Id: 403012.80166.bm@smtp144.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: o6A3bMAVM1mjAEldH2J9ZvptJvRrOGUdzXVp.sb0s6viQeH heYOMISUHZU8BgFGaNp7gcdDOnRgcsb6t4QiexdfCgcfTdwAJiVNnggJPLm9 iULvn2vAZWwuTYHVDz6eT2DhvvwzWDdwTi0AAEjp3yq6GokjQt0RrAMgNAg9 iepJ7FEsz1.Xwx21sGxt.oa4gcvoG.MTGk70QhK07j9oQJjVCzxxk_IIjo9F KZrOma37BXR8fD4EuOMY3wkWe7xE4aAwJwo.zLZoFv2j3EX1xqKjve46dEBo ZqCU1YSxJ6qDKu7bplc99yoEYRXzQcEKBNf8P14Ew0Cz1uplOXVgVpm5KLtg WA0VqT7OroYoUhAH.CFwGzDhGodaxYrkQadb2jvbbG9Z5vWSyPaZUU6fhird iXQ-- X-Yahoo-SMTP: tW.h3tiswBBMXO2coYcbPigGD5Lt6zY_.Zc- Received: from localhost (lindner_marek@210.177.7.38 with plain) by smtp144.mail.ukl.yahoo.com with SMTP; 10 May 2012 04:54:53 +0000 GMT From: Marek Lindner To: b.a.t.m.a.n@lists.open-mesh.org Date: Thu, 10 May 2012 12:54:04 +0800 Message-Id: <1336625644-29442-3-git-send-email-lindner_marek@yahoo.de> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1336625644-29442-1-git-send-email-lindner_marek@yahoo.de> References: <1336625644-29442-1-git-send-email-lindner_marek@yahoo.de> Cc: Marek Lindner Subject: [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: change comment style for David 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: Thu, 10 May 2012 04:54:55 -0000 Should be merged with f76d019194e0a88c57371df169ecc979690a04c2 Signed-off-by: Marek Lindner --- bat_iv_ogm.c | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bat_iv_ogm.c b/bat_iv_ogm.c index 96ce556..837c8a6 100644 --- a/bat_iv_ogm.c +++ b/bat_iv_ogm.c @@ -518,13 +518,12 @@ static void bat_iv_ogm_forward(struct orig_node *orig_node, } if (!is_from_best_next_hop) { - /** - * Mark the forwarded packet when it is not coming from our best - * next hop. We still need to forward the packet for our neighbor - * link quality detection to work in case the packet originated - * from a single hop neighbor. Otherwise we can simply drop the - * ogm. - */ + /* Mark the forwarded packet when it is not coming from our best + * next hop. We still need to forward the packet for our neighbor + * link quality detection to work in case the packet originated + * from a single hop neighbor. Otherwise we can simply drop the + * ogm. + */ if (is_single_hop_neigh) batman_ogm_packet->flags |= NOT_BEST_NEXT_HOP; else