X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/367193425cbb5a77ee8ada9c5b2a203ca293d823..caf28f95ce0a617b075cf66e24a0e4b0b8aaf18e:/src/util/proxy_protocol_client.pl diff --git a/src/util/proxy_protocol_client.pl b/src/util/proxy_protocol_client.pl index feae3ca90..8253fc4ac 100644 --- a/src/util/proxy_protocol_client.pl +++ b/src/util/proxy_protocol_client.pl @@ -3,6 +3,7 @@ # Copyright (C) 2014 Todd Lyons # License GPLv2: GNU GPL version 2 # +# SPDX-License-Identifier: GPL-2.0-or-later # # This script emulates a proxy which uses Proxy Protocol to communicate # to a backend server. It should be run from an IP which is configured @@ -21,6 +22,7 @@ # use strict; use warnings; +BEGIN { pop @INC if $INC[-1] eq '.' }; use IO::Select; use IO::Socket; use Getopt::Long;