From f00e339eb8323bba3b034c664c138a0ab84ac681 Mon Sep 17 00:00:00 2001
From: root <root@ffs-monitor.ipro.de>
Date: Sun, 26 Feb 2017 02:33:39 +0100
Subject: [PATCH] changed DNS Domain for Gateways to gw.freifunk-stuttgart.de

---
 ffs-set-segment/files/usr/sbin/ffs-set-segment | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffs-set-segment/files/usr/sbin/ffs-set-segment b/ffs-set-segment/files/usr/sbin/ffs-set-segment
index b61aa60..84f59b4 100755
--- a/ffs-set-segment/files/usr/sbin/ffs-set-segment
+++ b/ffs-set-segment/files/usr/sbin/ffs-set-segment
@@ -29,7 +29,7 @@ for i in `seq 1 10`;
 do
   GW=$(printf "gw%02d" $i)
   OLDPEER=$(uci get fastd.mesh_vpn_backbone_peer_$GW.remote)
-  NEWPEER="\"${GW}s$SEGNUM.freifunk-stuttgart.de\" port $PORT"
+  NEWPEER="\"${GW}s$SEGNUM.gw.freifunk-stuttgart.de\" port $PORT"
 
   if [ "$NEWPEER" != "$OLDPEER" ]; then
     uci set fastd.mesh_vpn_backbone_peer_$GW.remote="$NEWPEER"
-- 
GitLab