From 2017097b305914ca73f7d315cc3bb9b1b6136e55 Mon Sep 17 00:00:00 2001 From: jack Date: Sun, 2 Apr 2017 14:08:17 +0200 Subject: [PATCH] Fix typo Signed-off-by: jack --- bin/asstatd.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/asstatd.pl b/bin/asstatd.pl index 026719e..fc1b05c 100755 --- a/bin/asstatd.pl +++ b/bin/asstatd.pl @@ -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); }