diff options
author | tv <tv@nomic.retiolum> | 2013-01-13 18:22:50 +0100 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2013-01-13 18:22:50 +0100 |
commit | cd619766bd3b9a73aa2ee7559f4b3ce0f3ebb8ca (patch) | |
tree | bcc4721e9339f813dedde507ef47644308183990 /retiolum | |
parent | 81ac18e705684e1fadff20ccb9bddd4d255d1c6e (diff) |
retiolum install: pass full IPv4 to check-free-retiolum-v4
This fixes a bug, where an unused address (10.243.0.10) could not be
used another address (10.9.0.10) has the same suffix.
Diffstat (limited to 'retiolum')
-rwxr-xr-x | retiolum/scripts/tinc_setup/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/scripts/tinc_setup/install.sh b/retiolum/scripts/tinc_setup/install.sh index 2e36b83a..ea969f4c 100755 --- a/retiolum/scripts/tinc_setup/install.sh +++ b/retiolum/scripts/tinc_setup/install.sh @@ -45,7 +45,7 @@ then then printf 'select v4 subnet ip (1-255): ' read v4num - until $MYBIN/check-free-retiolum-v4 $v4num; do + until $MYBIN/check-free-retiolum-v4 10.243.0.$v4num; do echo "your're an idiot!" printf 'select unused v4 subnet ip (1-255): ' read v4num |