tests: connect script fixes

The connect script used for proxyproto no longer needs /tmp/connect,
it will create it.
This commit is contained in:
Nikos Mavrogiannopoulos
2015-08-25 17:47:01 +02:00
parent f63e0cf65e
commit 15d637db96

View File

@@ -1,5 +1,6 @@
#!/bin/sh
mkdir -p /tmp/connect
if [ "$REASON" = "connect" ];then
if test "$IP_REAL" != "127.0.0.1" && test "$IP_REAL" != "::1" && test -n "$IP_REAL_LOCAL";then
echo "$IP_REAL:$IP_REAL_LOCAL" >/tmp/connect/ok