]> The Tcpdump Group git mirrors - tcpdump/commit
juniper: make the cookie-processing code a little clearer.
authorGuy Harris <[email protected]>
Thu, 21 Jul 2022 06:00:22 +0000 (23:00 -0700)
committerGuy Harris <[email protected]>
Tue, 26 Jul 2022 23:52:46 +0000 (16:52 -0700)
commit92aa5dd3e12111a185b41f75f754a1684f25b596
tree9da195726fe08fb881028dba9d3971e94e0aeaa7
parent334fa24612a0be31e19a4f84908dbd4b1bc4da27
juniper: make the cookie-processing code a little clearer.

In the loop searching through the cookie table, just search for a
matching entry and, if we find one, save the entry and break out of the
loop.

If we found a matching entry, process the cookie using that entry.

That way, the cookie processing isn't buried in a loop.

(cherry picked from commit 57be4eb7ed4974965910d0ec179540b59bfe7a19)
print-juniper.c