From 9476d6e08cb55d9b9ad6be43975d0c099b8e2d73 Mon Sep 17 00:00:00 2001
From: Bjoern Franke <bjo@nord-west.org>
Date: Wed, 9 Apr 2014 18:32:10 +0200
Subject: [PATCH] change autoadd-if to br-client

---
 configurator/files/lib/ffol/configurator/configurator.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configurator/files/lib/ffol/configurator/configurator.sh b/configurator/files/lib/ffol/configurator/configurator.sh
index 151e0ad..c009d61 100644
--- a/configurator/files/lib/ffol/configurator/configurator.sh
+++ b/configurator/files/lib/ffol/configurator/configurator.sh
@@ -129,7 +129,7 @@ autoadd_ipv6_address() {
 	ipv6_link_local_addr=$(ip addr show dev br-client scope link | awk '/inet6/{print $2}')
 	ipv6_link_local_netmask=${ipv6_link_local_addr##*/}
 	ipv6_link_local_addr=${ipv6_link_local_addr%%/*}
-	ergebnis=$(wget -T $API_TIMEOUT -q -O - "http://$netmon_api/api_csv_configurator.php?section=autoadd_ipv6_address&authentificationmethod=$CRAWL_METHOD&nickname=$CRAWL_NICKNAME&password=$CRAWL_PASSWORD&router_auto_update_hash=$CRAWL_UPDATE_HASH&router_id=$CRAWL_ROUTER_ID&networkinterface_name=br-mesh&ip=$ipv6_link_local_addr&netmask=$ipv6_link_local_netmask&ipv=6")
+	ergebnis=$(wget -T $API_TIMEOUT -q -O - "http://$netmon_api/api_csv_configurator.php?section=autoadd_ipv6_address&authentificationmethod=$CRAWL_METHOD&nickname=$CRAWL_NICKNAME&password=$CRAWL_PASSWORD&router_auto_update_hash=$CRAWL_UPDATE_HASH&router_id=$CRAWL_ROUTER_ID&networkinterface_name=br-client&ip=$ipv6_link_local_addr&netmask=$ipv6_link_local_netmask&ipv=6")
 	ret=${ergebnis%%,*}
 	if [ "$ret" = "success" ]; then
 		uci set configurator.@netmon[0].autoadd_ipv6_address='0'
-- 
GitLab