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 <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2021-01-30 20:52:42 +01:00
committed by Michael Tremer
parent dd401c4d8a
commit 69d90c36cc

View File

@@ -25,6 +25,7 @@ package Network;
require "/var/ipfire/general-functions.pl";
use experimental 'smartmatch';
use Socket;
# System ethernet configuration