Permalink
Browse files

snmp__if_combined: fix syntax to use explicit 'my'.

  • Loading branch information...
1 parent 7dd40e2 commit edb8732d8e1f07863e3f1d9e8af502d241717d05 @Flameeyes Flameeyes committed Nov 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/snmp/snmp__if_combined
@@ -760,8 +760,8 @@ END
return;
}
- $errors = $snmpinfo->{$if}->{ifInErrors};
- $discards = $snmpinfo->{$if}->{ifInDiscards};
+ my $errors = $snmpinfo->{$if}->{ifInErrors};
+ my $discards = $snmpinfo->{$if}->{ifInDiscards};
printf("errors_in %s\n".
"discards_in %s\n".
"total_in %s\n",

0 comments on commit edb8732

Please sign in to comment.