From cd619766bd3b9a73aa2ee7559f4b3ce0f3ebb8ca Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 13 Jan 2013 18:22:50 +0100 Subject: 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. --- retiolum/scripts/tinc_setup/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum/scripts') 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 -- cgit v1.2.3