summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-09 16:12:44 +0200
committertv <tv@xso>2011-09-09 16:12:44 +0200
commitee02a8c3dea925f568e58aebeb3e01a52ba21ef8 (patch)
tree4ec781c00e44bc77997691c1f2d44b97c8f06f45 /retiolum
parent8c11ee3de8b7554b29c30b4b15eabb1d90f89ea3 (diff)
//retiolum/bin/ipv6: use BRE @sed
Diffstat (limited to 'retiolum')
-rwxr-xr-xretiolum/bin/ipv62
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/bin/ipv6 b/retiolum/bin/ipv6
index 65a1eaa1..34c6de71 100755
--- a/retiolum/bin/ipv6
+++ b/retiolum/bin/ipv6
@@ -13,7 +13,7 @@ if test `id -u` != 0; then
fi
file=/etc/tinc/retiolum/hosts/`hostname`
-addr=`sed -rn 's|^Subnet *= *(42:[0-9A-Fa-f:]*/128)|\1|p' $file`
+addr=`sed -n 's|^Subnet *= *\(42:[0-9A-Fa-f:]*/128\)|\1|p' $file`
route=42::/16
start() {