mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
tests: connect script fixes
The connect script used for proxyproto no longer needs /tmp/connect, it will create it.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user