summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2011-12-22 20:09:11 +0100
committerlassulus <lassulus@googlemail.com>2011-12-22 20:09:11 +0100
commit406a7853eaafa18b1615e1442dc00ca7da44b150 (patch)
tree6a179d2e9275836d47a54ec65d5ca2f3df998cc9 /retiolum
parent9d8deff2a15c646980601d19baeb80c26a28b8e3 (diff)
changed regex
Diffstat (limited to 'retiolum')
-rwxr-xr-xretiolum/scripts/tinc_setup/tinc-up2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/scripts/tinc_setup/tinc-up b/retiolum/scripts/tinc_setup/tinc-up
index 4a9c4320..bcb4dbea 100755
--- a/retiolum/scripts/tinc_setup/tinc-up
+++ b/retiolum/scripts/tinc_setup/tinc-up
@@ -10,7 +10,7 @@ host=$dirname/hosts/$name
ip link set $INTERFACE up
-addr4=`sed -n 's|^ *Subnet *= *\(42[.][^ ]*\) *$|\1|p' $host`
+addr4=`sed -n 's|^ *Subnet *= *\(10[.][^ ]*\) *$|\1|p' $host`
ip -4 addr add $addr4 dev $INTERFACE
ip -4 route add 10.243.0.0/16 dev $INTERFACE