]> The Tcpdump Group git mirrors - tcpdump/commit
make minor cleanups to print-decnet.c
authorDenis Ovsienko <[email protected]>
Fri, 7 Oct 2016 20:54:57 +0000 (21:54 +0100)
committerDenis Ovsienko <[email protected]>
Fri, 7 Oct 2016 21:19:36 +0000 (22:19 +0100)
commitc767d995cd5335ea9aef08f7ffe85856171d359f
tree8c1609eaba6c3ec6568dfaecf56cb21c21f79280
parent4110271cd5db06ea0e527d83d1d4921d9040feed
make minor cleanups to print-decnet.c

Remove some unused code guarded by PRINT_NSPDATA, which was never
defined.

To resolve a Coverity dead code warning remove the notions of
COS_CRYPTSER as DECnet packet diagrams are pretty much non-existent in
the modern Internet so I could not figure it out what the code point was
meant to do originally.

dead_error_condition: The switch value "services & 0xc" cannot be 16
print-decnet.c