diff options
author | lassulus <lassulus@googlemail.com> | 2011-12-22 20:09:11 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2011-12-22 20:09:11 +0100 |
commit | 406a7853eaafa18b1615e1442dc00ca7da44b150 (patch) | |
tree | 6a179d2e9275836d47a54ec65d5ca2f3df998cc9 /retiolum | |
parent | 9d8deff2a15c646980601d19baeb80c26a28b8e3 (diff) |
changed regex
Diffstat (limited to 'retiolum')
-rwxr-xr-x | retiolum/scripts/tinc_setup/tinc-up | 2 |
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 |