summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@iiso>2011-11-19 23:47:50 +0100
committertv <tv@iiso>2011-11-19 23:47:50 +0100
commitfea2dd9f1e17e0eafd889c04b7407b753a7764d9 (patch)
tree7308bc94b6b8cd33871da87343f5a0d4c1eaeb63
parentdf68b03094570c25e9f0a337d162c9be8b98a75c (diff)
//retiolum hosts: use correct format
-rwxr-xr-xretiolum/bin/hosts2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/bin/hosts b/retiolum/bin/hosts
index bd0c77dc..4856d494 100755
--- a/retiolum/bin/hosts
+++ b/retiolum/bin/hosts
@@ -7,7 +7,7 @@ cd /etc/tinc/$netname/hosts
for i in `ls`; do
sed -n '
- s|^ *Subnet *= *\([^ /]*\)\(/[0-9]*\)\? *$|\1\t'$i' '$i'.'$netname'|p
+ s|^ *Subnet *= *\([^ /]*\)\(/[0-9]*\)\? *$|\1\t'$i'.'$netname' '$i'|p
' $i
done | sort