From: Arne Fitzenreiter Date: Sat, 30 Jan 2021 19:52:42 +0000 (+0100) Subject: network-functions.pl: declare use of smartmatch X-Git-Tag: v2.25-core155~188 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=69d90c36cc17a6b475253c29d98f02e26f1adb5e 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