[Olsr-dev] [PATCH v1 3/3] pud: add SmartGatewayWeightExitLink and SmartGatewayWeightEtx

Ferry Huberts (spam-protected)
Thu Jul 26 16:23:19 CEST 2012


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 lib/pud/doc/olsrd.conf.default.pud | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/lib/pud/doc/olsrd.conf.default.pud b/lib/pud/doc/olsrd.conf.default.pud
index a1f68fa..0c31977 100644
--- a/lib/pud/doc/olsrd.conf.default.pud
+++ b/lib/pud/doc/olsrd.conf.default.pud
@@ -168,6 +168,18 @@ SmartGateway yes
 # SmartGatewayThreshold 0
 SmartGatewayThreshold   67
 
+# The weighing factor for the gateway bandwidth (exit link).
+# See README-Olsr-Extensions for a description of smartgateways.
+# (default is 0)
+
+SmartGatewayWeightExitLink 1
+
+# The weighing factor for the ETX costs.
+# See README-Olsr-Extensions for a description of smartgateways.
+# (default is 0)
+
+SmartGatewayWeightEtx 4
+
 # Defines what kind of Uplink this node will publish as a
 # smartgateway. The existence of the uplink is detected by
 # a route to 0.0.0.0/0, ::ffff:0:0/96 and/or 2000::/3.
-- 
1.7.11.2





More information about the Olsr-dev mailing list