summaryrefslogtreecommitdiffstats
path: root/retiolum/bin/hosts
diff options
context:
space:
mode:
authorroot <root@kremium>2011-12-01 20:59:27 +0100
committerroot <root@kremium>2011-12-01 20:59:27 +0100
commit2d733f93b82a1c11a014af1a3dd07d3540282356 (patch)
treeec23111722523ec03ec7d35e708735cf787c6f79 /retiolum/bin/hosts
parentbfa204a580a503a216cedbedd36586fb00458181 (diff)
parent4be0c81eafe0f315b91eb13d5d9aa8886faef308 (diff)
Merge branch 'master' of http://github.com/krebscode/painload
Diffstat (limited to 'retiolum/bin/hosts')
-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