]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[rt46602] Fix EXTRAPORT substitutions in copy_setport
authorStephen Morris <stephen@isc.org>
Thu, 18 Jan 2018 18:11:07 +0000 (18:11 +0000)
committerStephen Morris <stephen@isc.org>
Fri, 16 Feb 2018 16:09:49 +0000 (16:09 +0000)
Fix problems where all EXTRAPORT macros were being replaced by
the EXTRAPORT1 value. (Copy and paste issue.)

bin/tests/system/conf.sh.in

index 8ad8db42e6d54257a7931b4d8dc5d4b4a889eac1..458bddc932812431f30add0fb271464c5100fb8e 100644 (file)
@@ -251,13 +251,13 @@ nextpart () {
 copy_setports() {
     sed -e "s/@PORT@/${PORT}/g" \
         -e "s/@EXTRAPORT1@/${EXTRAPORT1}/g" \
-        -e "s/@EXTRAPORT2@/${EXTRAPORT1}/g" \
-        -e "s/@EXTRAPORT3@/${EXTRAPORT1}/g" \
-        -e "s/@EXTRAPORT4@/${EXTRAPORT1}/g" \
-        -e "s/@EXTRAPORT5@/${EXTRAPORT1}/g" \
-        -e "s/@EXTRAPORT6@/${EXTRAPORT1}/g" \
-        -e "s/@EXTRAPORT7@/${EXTRAPORT1}/g" \
-        -e "s/@EXTRAPORT8@/${EXTRAPORT1}/g" \
+        -e "s/@EXTRAPORT2@/${EXTRAPORT2}/g" \
+        -e "s/@EXTRAPORT3@/${EXTRAPORT3}/g" \
+        -e "s/@EXTRAPORT4@/${EXTRAPORT4}/g" \
+        -e "s/@EXTRAPORT5@/${EXTRAPORT5}/g" \
+        -e "s/@EXTRAPORT6@/${EXTRAPORT6}/g" \
+        -e "s/@EXTRAPORT7@/${EXTRAPORT7}/g" \
+        -e "s/@EXTRAPORT8@/${EXTRAPORT8}/g" \
         -e "s/@CONTROLPORT@/${CONTROLPORT}/g" $1 > $2
 }