From f6a2a10452ed03559be07f780cb859998e4b1a7c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 30 Jun 2018 19:15:18 +0200 Subject: T719: remove warnings from SNMP ifAlias Perl script SNMPD is executing an external PERL script when retrieving ifAlias descriptions. This is done via pass .1.3.6.1.2.1.31.1.1.1.18 /opt/vyatta/sbin/if-mib-alias ... but as VyOS 1.2 now uses Perl 5.20 some options will trigger warnings on script invocation. given is experimental at /opt/vyatta/sbin/if-mib-alias line 121. when is experimental at /opt/vyatta/sbin/if-mib-alias line 122. when is experimental at /opt/vyatta/sbin/if-mib-alias line 123. when is experimental at /opt/vyatta/sbin/if-mib-alias line 124. .1.3.6.1.2.1.31.1.1.1.18.1 string LOOPBACK Those warnings have been suppressed! --- scripts/snmp/if-mib-alias | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/snmp/if-mib-alias b/scripts/snmp/if-mib-alias index d17644e9..bc86f999 100755 --- a/scripts/snmp/if-mib-alias +++ b/scripts/snmp/if-mib-alias @@ -23,6 +23,7 @@ use strict; use warnings; use feature "switch"; +no warnings 'experimental::smartmatch'; # Collect interface all alias values sub get_alias { -- cgit v1.2.3