]> granicus.if.org Git - pdns/commitdiff
Allowed override with PDNS_LISTEN_ADDR environment variable
authortcely <tcely@users.noreply.github.com>
Wed, 9 Aug 2017 12:04:30 +0000 (08:04 -0400)
committerGitHub <noreply@github.com>
Wed, 9 Aug 2017 12:04:30 +0000 (08:04 -0400)
regression-tests/start-test-stop

index 49c2faac37906dd6d493178ba304ba2da630969d..a83bcf60b38d023d98357af67133efa57fc45990 100755 (executable)
@@ -151,7 +151,7 @@ then
        exit
 fi
 
-address='127.0.0.1'
+address="${PDNS_LISTEN_ADDR:-127.0.0.1}"
 port=$1
 [ -z "$port" ] && port=5300
 context=$2