]> The Tcpdump Group git mirrors - tcpdump/commit
Juniper: Avoid testing ndo->ndo_eflag > 1
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 5 Dec 2020 15:02:55 +0000 (16:02 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 5 Dec 2020 15:21:48 +0000 (16:21 +0100)
commitd27628f311b9afcf5ed6e4b0068e8ba6d6324b14
tree98775268d039a64672786e99cd39700aa3c74878
parentb648875d988024704c082e9bd5afd8235ed759c3
Juniper: Avoid testing ndo->ndo_eflag > 1

It's the only case where ndo->ndo_eflag is tested > 1.
It's not documented we could use -ee[...].

To print more details, we already have -v[v]... (if needed).
Using -e[e]... could add some confusion.
This also add more complexity on a test matrix:
('', '-v', '-e', '-ve', -'vee', -vve, '-vvee', etc.).

Thus replace this only case by ndo->ndo_eflag to only have to test
ndo_eflag == 0 or ndo_eflag == 1.
print-juniper.c