From fd3417a09a6d5dd1ca275e930196e12f7ddac242 Mon Sep 17 00:00:00 2001 From: Moritz Kraus Date: Fri, 9 Sep 2016 15:59:52 +0200 Subject: [PATCH] faked e_index with e_id --- Info/Layer7/CiscoIPS.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Info/Layer7/CiscoIPS.pm b/Info/Layer7/CiscoIPS.pm index db9f89ae..a18e4ecc 100644 --- a/Info/Layer7/CiscoIPS.pm +++ b/Info/Layer7/CiscoIPS.pm @@ -125,7 +125,11 @@ sub b_mac { sub e_index { my $self = shift(); - return $self->e_id; + my %index; + foreach my $id ( keys %{$self->e_id} ){ + %index->{$id} = $id; + } + return \%index; } 1;