From 8fc44e7e86fe57d3ca32a99dc8eaa0680a1b659c Mon Sep 17 00:00:00 2001 From: Robin Sommer Date: Thu, 6 Aug 2015 22:14:48 -0400 Subject: [PATCH] CID 1312751: Removing redundant assignment. --- aux/plugins | 2 +- src/iosource/Packet.cc | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/aux/plugins b/aux/plugins index 2799b2a135..fcf1ccfa9d 160000 --- a/aux/plugins +++ b/aux/plugins @@ -1 +1 @@ -Subproject commit 2799b2a13577fc70eea1da6192879a25c58902de +Subproject commit fcf1ccfa9d2bfd8036a917d12b43ebe45d351927 diff --git a/src/iosource/Packet.cc b/src/iosource/Packet.cc index 396192562f..d40941095a 100644 --- a/src/iosource/Packet.cc +++ b/src/iosource/Packet.cc @@ -310,9 +310,8 @@ void Packet::ProcessLayer2() } - // We've now determined (a) L3_IPV4 vs (b) L3_IPV6 vs - // (c) L3_ARP vs (d) L3_UNKNOWN. - l3_proto = l3_proto; + // We've now determined (a) L3_IPV4 vs (b) L3_IPV6 vs (c) L3_ARP vs + // (d) L3_UNKNOWN. // Calculate how much header we've used up. hdr_size = (pdata - data);