Subversion Repositories lsh

Compare Revisions

Ignore whitespace Rev 84 → Rev 85

/trunk/debian/patches/testsuite-mini-inetd-localhost.patch
0,0 → 1,15
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 $!"
}
/trunk/debian/patches/series
6,3 → 6,4
blacklist.patch
terminate-on-connection-failure.patch
ipv6-v6only.patch
testsuite-mini-inetd-localhost.patch