Skip to content
Snippets Groups Projects
Commit 17ec20bd authored by Pierre LALET's avatar Pierre LALET
Browse files

FlagValue: support multiple flags check at once

This PR makes it possible to check if several flags are all set, by
writting, for example, `if pkt[TCP].flags.SA:`.

It only works for single letter flags (e.g., will work for TCP().flags
but not for IP().flags), and only when getting a value.

Thanks @guedou for suggesting that.
parent f0bfaf75
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment