From 445b3f19a332a9132a6a5f7115c653a6f3c5515d Mon Sep 17 00:00:00 2001 From: laelly Date: Sat, 10 Feb 2018 01:50:27 +0100 Subject: [PATCH] Improve F10 OS version detection --- lib/SNMP/Info/Layer3/Force10.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SNMP/Info/Layer3/Force10.pm b/lib/SNMP/Info/Layer3/Force10.pm index 8b67c871..bd3dd0b4 100644 --- a/lib/SNMP/Info/Layer3/Force10.pm +++ b/lib/SNMP/Info/Layer3/Force10.pm @@ -89,7 +89,7 @@ sub os_ver { my $descr = $force10->description(); my $os_ver = undef; - $os_ver = $1 if ( $descr =~ /Force10\s+Application\s+Software\s+Version:\s+(\S+)/s ); + $os_ver = $1 if ( $descr =~ /\s+Application\s+Software\s+Version:\s+(\S+)/s ); return $os_ver; }