mirror of
https://github.com/manuelkasper/AS-Stats.git
synced 2025-02-20 11:44:12 +08:00
+ Allow NetFlow aggregation version 0 as well as 2 to make NetFlow exports from Juniper routers work
This commit is contained in:
parent
ba0826caa3
commit
c8ce962aed
4
README
4
README
@ -5,6 +5,10 @@ by Manuel Kasper, Monzoon Networks AG <mkasper@monzoon.net>
|
||||
|
||||
Changes
|
||||
-------
|
||||
xxxx Allow NetFlow aggregation version 0 as well as 2 to make NetFlow
|
||||
exports from Juniper routers work (suggested by Thomas Mangin
|
||||
<thomas.mangin@exa-networks.co.uk>).
|
||||
|
||||
v1.3 Changes by Steve Colam <steve@colam.co.uk>:
|
||||
- ...-asstatd.pl now accepts parameters (UDP listen port,
|
||||
sampling rate etc.) on the command line
|
||||
|
@ -88,7 +88,7 @@ while (1) {
|
||||
$flow_sequence, $engine_type, $engine_id, $aggregation,
|
||||
$agg_version) = unpack("nnNNNNCCCC", $datagram);
|
||||
|
||||
if ($version != 8 || $aggregation != 1 || $agg_version != 2) {
|
||||
if ($version != 8 || $aggregation != 1 || ($agg_version != 0 && $agg_version != 2)) {
|
||||
print "unknown version: $version/$aggregation/$agg_version\n";
|
||||
next;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user