From 6a318306002b5a0cd47c1dc12bb97246c1ae4c07 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Sat, 16 May 2015 14:00:06 +0200
Subject: [PATCH] gluon-mesh-batman-adv-core: always set hop penalty to 15

15 is the default in batman-adv-legacy, the new default 30 in newer batman-adv
versions is too high in larger networks.
---
 .../files/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh b/package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh
index a51b20e23..43c4e4d46 100755
--- a/package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh
+++ b/package/gluon-mesh-batman-adv-core/files/lib/gluon/upgrade/310-gluon-mesh-batman-adv-core-mesh
@@ -11,6 +11,7 @@ uci:section('batman-adv', 'mesh', 'bat0',
 	    {
 		    orig_interval = 5000,
 		    gw_mode = 'client',
+		    hop_penalty = 15,
 		    multicast_mode = 0,
 	    }
 )
-- 
GitLab