mirror of
https://github.com/manuelkasper/AS-Stats.git
synced 2025-02-20 11:44:12 +08:00
Fix typo
Signed-off-by: jack <jack@k-net.pro>
This commit is contained in:
parent
d0599e60ae
commit
2017097b30
@ -595,7 +595,7 @@ sub parse_sflow {
|
||||
my $srcip = undef;
|
||||
my $dstip= undef;
|
||||
my (undef, $ethertype, $ipdata) = unpack('a12H4a*', $sFlowSample->{'HeaderBin'});
|
||||
if($ethertype eq 8100){
|
||||
if($ethertype eq '8100'){
|
||||
(undef, $ethertype, $ipdata) = unpack('nH4a*', $ipdata);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user