summaryrefslogtreecommitdiffstats
path: root/retiolum/bin/hosts
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2011-11-21 18:12:25 +0100
committerEUcancER <root@euer.krebsco.de>2011-11-21 18:12:25 +0100
commit7f2bc5498eaf74888bc4d031e182cf0b77ff21e3 (patch)
tree6b998e5846595e69f636e1a165418c9db1dd262f /retiolum/bin/hosts
parent16c8bfee75d0d6f41671bb621ee631311c02cc1b (diff)
parent4c53eae0cd6d1644f5ad3e79e5eb5611975079a1 (diff)
Merge branch 'master' of 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