mirror of
https://github.com/manuelkasper/AS-Stats.git
synced 2025-02-20 11:44:12 +08:00
bin/asstatd.pl: parse_sflow: switching to RFC2863 ifIndex
This commit is contained in:
parent
412127ac7d
commit
5c32090035
@ -578,10 +578,9 @@ sub parse_sflow {
|
||||
next;
|
||||
}
|
||||
|
||||
if ($snmpin >= 1073741823 || $snmpout >= 1073741823) {
|
||||
# invalid interface index - could be dropped packet or internal
|
||||
# (routing protocol, management etc.)
|
||||
#print "Invalid interface index $snmpin/$snmpout\n";
|
||||
if ($snmpin > 2147483647 || $snmpout > 2147483647) {
|
||||
# invalid RFC 2863 ifIndex
|
||||
print "Invalid interface index $snmpin/$snmpout\n";
|
||||
next;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user