From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Held To: development@lists.ipfire.org Subject: [PATCH] Network::network_equal: fix definition check of array Date: Mon, 12 Feb 2018 00:19:30 +0100 Message-ID: <20180211231930.12738-1-berny156@gmx.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7685675214881419901==" List-Id: --===============7685675214881419901== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable --- config/cfgroot/network-functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cfgroot/network-functions.pl b/config/cfgroot/network-fun= ctions.pl index 2902aabb0..3bf17b092 100644 --- a/config/cfgroot/network-functions.pl +++ b/config/cfgroot/network-functions.pl @@ -111,7 +111,7 @@ sub network_equal { my @bin1 =3D &network2bin($network1); my @bin2 =3D &network2bin($network2); =20 - if (!defined $bin1 || !defined $bin2) { + if (!defined @bin1 || !defined @bin2) { return undef; } =20 --=20 2.16.1 --===============7685675214881419901==--