From f264d4b8e9752b10308d7802b79d0cd3ffe54103 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Fri, 26 Jan 2024 13:36:48 +0100 Subject: [PATCH] Reduce netlink timeout to 30 seconds. --- netlink.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlink.pl b/netlink.pl index febda80..9497c1d 100755 --- a/netlink.pl +++ b/netlink.pl @@ -41,14 +41,14 @@ -e environ parse environment for tests from shell script -i iface interface, may contain number: @allifaces -m modify modify mode: @allmodifymodes - -t timeout timeout for a single test, default 60 seconds + -t timeout timeout for a single test, default 30 seconds -v verbose test ... test mode: @alltestmodes appending 4 or 6 to a test restricts the IP version. EOF exit(2); }; -my $timeout = $opts{t} || 60; +my $timeout = $opts{t} || 30; environment($opts{e}) if $opts{e}; my $pseudo = $opts{c} || "none"; my $iface = $opts{i} || "none";