Message ID | 1295518649-25141-1-git-send-email-lindner_marek@yahoo.de (mailing list archive) |
---|---|
State | Rejected, archived |
Headers |
Return-Path: <lindner_marek@yahoo.de> Received: from nm16-vm0.bullet.mail.ukl.yahoo.com (nm16-vm0.bullet.mail.ukl.yahoo.com [217.146.183.254]) by open-mesh.org (Postfix) with SMTP id 39D8C1545E2 for <b.a.t.m.a.n@lists.open-mesh.org>; Thu, 20 Jan 2011 11:20:57 +0100 (CET) Received: from [217.146.183.214] by nm16.bullet.mail.ukl.yahoo.com with NNFMP; 20 Jan 2011 10:20:55 -0000 Received: from [77.238.184.78] by tm7.bullet.mail.ukl.yahoo.com with NNFMP; 20 Jan 2011 10:20:55 -0000 Received: from [127.0.0.1] by smtp147.mail.ukl.yahoo.com with NNFMP; 20 Jan 2011 10:20:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1295518855; bh=XF0FvoNQVqHVczD81rkhux0wygQmGXJY6Ye5skrAf00=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Cc:Subject:Date:Message-Id:X-Mailer; b=daiXsfn2sJKDUZnmUSHx1M45FZumm4fmxru08Twl7xVk6pxZDNAHZbYcZ6ZFjFQxeC22ndv9cVDm6QpJROfaaYVdJL+e51QOOA6WWqbkja5HGfuDeBA4QNxxiIWeTliXdSzIjo8IOZP7C9coGwy5vG6OfDVVydj9AsBRMrjkAoY= X-Yahoo-Newman-Id: 386693.23239.bm@smtp147.mail.ukl.yahoo.com Received: from localhost (lindner_marek@81.57.254.118 with plain) by smtp147.mail.ukl.yahoo.com with SMTP; 20 Jan 2011 10:20:51 +0000 GMT X-Yahoo-SMTP: tW.h3tiswBBMXO2coYcbPigGD5Lt6zY_.Zc- X-YMail-OSG: BPvM1HMVM1lrxqz.fX8QvOHaYc7jHF1_ieiNO7K9uzRjG3A VTwMFFUmjApVXn6uB3boiD22I9EG7CoJ1oqHJeCQxkpvzLVpYg2Sjarm.2J0 k3HGGYwwt8xxFoY.GDPGwRJ.AvwbG4UVic_y0mR7v.A2LjqZPgtS3mqApoU6 0c1Y5UpZ5velwgka4XjntqbFxWIvsR8ZBscRLjdSCIf3Tnp0jp9AXrTD5fPW tAgwGw7F5oe5iEOWdLt_LVC7rqXejnLRCRHu0E2yHVNfvvCl1DoVJqR1zPjz ruSdgqLIQP9KpE36kavqBclb9clA- X-Yahoo-Newman-Property: ymail-3 From: Marek Lindner <lindner_marek@yahoo.de> To: b.a.t.m.a.n@lists.open-mesh.org Date: Thu, 20 Jan 2011 11:17:29 +0100 Message-Id: <1295518649-25141-1-git-send-email-lindner_marek@yahoo.de> X-Mailer: git-send-email 1.7.2.3 Cc: Marek Lindner <lindner_marek@yahoo.de> Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: update compat version X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking <b.a.t.m.a.n@lists.open-mesh.org> List-Id: The list for a Better Approach To Mobile Ad-hoc Networking <b.a.t.m.a.n.lists.open-mesh.org> List-Unsubscribe: <https://lists.open-mesh.org/mm/options/b.a.t.m.a.n>, <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=unsubscribe> List-Archive: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n> List-Post: <mailto:b.a.t.m.a.n@lists.open-mesh.org> List-Help: <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=help> List-Subscribe: <https://lists.open-mesh.org/mm/listinfo/b.a.t.m.a.n>, <mailto:b.a.t.m.a.n-request@lists.open-mesh.org?subject=subscribe> X-List-Received-Date: Thu, 20 Jan 2011 10:20:57 -0000 |
Commit Message
Marek Lindner
Jan. 20, 2011, 10:17 a.m. UTC
The compatibility version has to be updated as the OGM packet
received a new field (gw_flags).
Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
---
batman-adv/packet.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Comments
On Thursday 20 January 2011 11:17:29 Marek Lindner wrote: > The compatibility version has to be updated as the OGM packet > received a new field (gw_flags). Why that? Compat 12 was the version with gw flags. http://www.open-mesh.org/wiki/BatmanAdvCompatVersion
On Thursday 20 January 2011 11:57:23 Sven Eckelmann wrote: > On Thursday 20 January 2011 11:17:29 Marek Lindner wrote: > > The compatibility version has to be updated as the OGM packet > > received a new field (gw_flags). > > Why that? Compat 12 was the version with gw flags. > http://www.open-mesh.org/wiki/BatmanAdvCompatVersion Cool - I knew there was an overview table somewhere but I did not manage to find it. :-) As the table states 2010.2.0 got version 13 but trunk & next are on 12. I made a diff between the packet.h files and saw the gateway flags, therefore I proposed to increase the version number to 14. Should the next release contain a version smaller than the previous release ? Regards, Marek
On Thursday 20 January 2011 12:01:14 Marek Lindner wrote: > As the table states 2010.2.0 got version 13 but trunk & next are on 12. I > made a diff between the packet.h files and saw the gateway flags, > therefore I proposed to increase the version number to 14. Should the next > release contain a version smaller than the previous release ? If you promise that we won't have a feature in trunk but not in next for ages... Personally I don't see the reason to make a fully compatible version incompatible. And I don't want to explain David S. Miller why he has to merge such a change (and the merge window is closed now). Best regards, Sven
On Thursday 20 January 2011 12:36:49 Sven Eckelmann wrote: > If you promise that we won't have a feature in trunk but not in next for > ages... Personally I don't see the reason to make a fully compatible > version incompatible. And I don't want to explain David S. Miller why he > has to merge such a change (and the merge window is closed now). Ok, sounds reasonable. Let's not forget to increase to 14 then. ;-) Regards, Marek
diff --git a/batman-adv/packet.h b/batman-adv/packet.h index 2284e81..b595bde 100644 --- a/batman-adv/packet.h +++ b/batman-adv/packet.h @@ -32,7 +32,7 @@ #define BAT_UNICAST_FRAG 0x06 /* this file is included by batctl which needs these defines */ -#define COMPAT_VERSION 12 +#define COMPAT_VERSION 14 #define DIRECTLINK 0x40 #define VIS_SERVER 0x20 #define PRIMARIES_FIRST_HOP 0x10