summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_cli_tests
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2013-06-27 13:11:11 +0000
committerGordon Sim <gsim@apache.org>2013-06-27 13:11:11 +0000
commit27902a7bc56a5543f449d68990e9752ce9e54138 (patch)
treed016a7982703921f13cb57cf2f480a360da7518d /cpp/src/tests/run_cli_tests
parent60b363ee8de86f8dbcbe5c2750a707fdbd6fcd1f (diff)
downloadqpid-python-27902a7bc56a5543f449d68990e9752ce9e54138.tar.gz
NO-JIRA: restrict broker to listen only on loopback interface (ensures they are listening on the right interface when port is 0)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1497339 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/run_cli_tests')
-rwxr-xr-xcpp/src/tests/run_cli_tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/run_cli_tests b/cpp/src/tests/run_cli_tests
index ea44437c0d..a7f55d58b7 100755
--- a/cpp/src/tests/run_cli_tests
+++ b/cpp/src/tests/run_cli_tests
@@ -56,9 +56,9 @@ start_brokers() {
targs="--ignore=*xml*"
fi
- ../qpidd --daemon --port 0 --no-data-dir --no-module-dir --mgmt-publish no --auth no $xargs > qpidd.port
+ ../qpidd --daemon --port 0 --interface 127.0.0.1 --no-data-dir --no-module-dir --mgmt-publish no --auth no $xargs > qpidd.port
LOCAL_PORT=`cat qpidd.port`
- ../qpidd --daemon --port 0 --no-data-dir --no-module-dir --mgmt-publish no --auth no $xargs > qpidd.port
+ ../qpidd --daemon --port 0 --interface 127.0.0.1 --no-data-dir --no-module-dir --mgmt-publish no --auth no $xargs > qpidd.port
REMOTE_PORT=`cat qpidd.port`
}