]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix a bug in an utility script for the statschannel system test
authorAram Sargsyan <aram@isc.org>
Tue, 30 May 2023 15:13:22 +0000 (15:13 +0000)
committerAram Sargsyan <aram@isc.org>
Wed, 19 Jul 2023 13:27:54 +0000 (13:27 +0000)
Because of a typo, the fetch.pl script tries to extract the server
address from the input parameter 'a' instead of 's'. Fix the typo.

(cherry picked from commit aa7538fd38e6c13d7624f5b31d07825c7ec89c44)

bin/tests/system/statschannel/fetch.pl

index 7c57ca2937de35762d4f994f9d2255adf343afbc..b09ed542a5d61e36e4b96beeb1dc77f99ff25a16 100644 (file)
@@ -28,7 +28,7 @@ my %options={};
 getopts("s:p:", \%options);
 
 my $addr = "10.53.0.2";
-$addr = $options{a} if defined $options{a};
+$addr = $options{s} if defined $options{s};
 
 my $path = 'xml/v3';
 if (@ARGV >= 1) {