summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authorlassulus <Lassulus@googlemail.com>2011-11-26 01:24:02 +0100
committerlassulus <Lassulus@googlemail.com>2011-11-26 01:24:02 +0100
commit80d6bc6aace4fad2038e1b712ec95cb033cf4672 (patch)
treed9c5b9f6c5da0c2789de783892587209d5b80e7c /retiolum
parent5345566fd77adf45943333eccf856625bb458cbc (diff)
parent7f2bc5498eaf74888bc4d031e182cf0b77ff21e3 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum')
-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