summaryrefslogtreecommitdiffstats
path: root/retiolum/bin
diff options
context:
space:
mode:
authorChinaman <root@chinaman>2011-11-29 02:00:22 +0100
committerChinaman <root@chinaman>2011-11-29 02:00:22 +0100
commitc4c5f5570ddfd4f76e9078826aeb3df16920f7ce (patch)
treec7ddafa500b98dd1a34d2157d0de98ed8ef2a132 /retiolum/bin
parenta95cb58ffa45cf2f25430592a7cc60b70e26f232 (diff)
parentb1d71c062f1d29b2be3269a5e7e8a67030adfa6a (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'retiolum/bin')
-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