mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
CID 1312751: Removing redundant assignment.
This commit is contained in:
parent
4c2aa804e1
commit
8fc44e7e86
2 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue