mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 16:26:59 +08:00
This replaces the old no longer used "docker-tests". Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
10 lines
216 B
Bash
Executable File
10 lines
216 B
Bash
Executable File
#!/bin/sh
|
|
|
|
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" >proxyproto-v1-connect-ok
|
|
fi
|
|
fi
|
|
|
|
exit 0
|