diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-03-03 11:38:15 -0600 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-03-03 11:38:15 -0600 |
commit | 231d6f603e7cf456b3945443abbb66423cf3388f (patch) | |
tree | 0070f19598d0aa2e2b6c1030afd7cf4c9027d348 | |
parent | 459633eabdb1e83efc622d133c71ae1e76a4d223 (diff) | |
parent | 31f6c82c43c1ad4bb259fdd6a6ffd94ba204c1c1 (diff) | |
download | vyatta-cfg-quagga-231d6f603e7cf456b3945443abbb66423cf3388f.tar.gz vyatta-cfg-quagga-231d6f603e7cf456b3945443abbb66423cf3388f.zip |
Merge branch 'napa' of git.vyatta.com:/git/vyatta-cfg-system into napa
-rwxr-xr-x | scripts/snmp/if-mib-alias | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/snmp/if-mib-alias b/scripts/snmp/if-mib-alias index 82431356..d8b3ea9f 100755 --- a/scripts/snmp/if-mib-alias +++ b/scripts/snmp/if-mib-alias @@ -14,7 +14,7 @@ # Portions created by Vyatta are Copyright (C) 2007 Vyatta, Inc. # All Rights Reserved. # -# Author: Stig Thormodsrud +# Author: Stephen Hemminger # Date: October 2010 # Description: script is run as net-snmp extension to read interface alias # @@ -63,7 +63,7 @@ sub get_next { if ($oid eq $BASE); die "Not a valid Object ID: $oid" - unless ($oid =~ /^([0-9.]*)\.(\d)$/); + unless ($oid =~ /^([0-9.]*)\.(\d+)$/); my $base = $1; my $ifindex = $2; |