?revision_form?Rev ?revision_input??revision_submit??revision_endform?
Blame |
Last modification |
View Log
| RSS feed
Description: Tell mini-inetd to bind to 127.0.0.1 instead of "localhost".
When told to bind to "localhost", mini-inetd seems to bind to 255.255.255.255.
Author: Magnus Holmgren <holmgren@debian.org>
--- a/src/testsuite/functions.sh
+++ b/src/testsuite/functions.sh
@@ -155,7 +155,7 @@ spawn_lshg () {
# at_connect local-port max-connections shell-command
at_connect () {
# sleep 1 # Allow some time for earlier processes to die
- mini-inetd -m $2 -- localhost:$1 /bin/sh sh -c "$3" &
+ mini-inetd -m $2 -- 127.0.0.1:$1 /bin/sh sh -c "$3" &
at_exit "kill $!"
}