From: Arne Fitzenreiter Date: Sat, 30 Jan 2021 19:52:42 +0000 (+0100) Subject: network-functions.pl: declare use of smartmatch X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=69d90c36cc17a6b475253c29d98f02e26f1adb5e;p=people%2Fms%2Fipfire-2.x.git network-functions.pl: declare use of smartmatch perl complains about the use of experimental smartmatch feature if it is not declared. Signed-off-by: Arne Fitzenreiter Signed-off-by: Michael Tremer --- diff --git a/config/cfgroot/network-functions.pl b/config/cfgroot/network-functions.pl index 7bd6466e0c..e94404f054 100644 --- a/config/cfgroot/network-functions.pl +++ b/config/cfgroot/network-functions.pl @@ -25,6 +25,7 @@ package Network; require "/var/ipfire/general-functions.pl"; +use experimental 'smartmatch'; use Socket; # System ethernet configuration