Fix test for early exit from MMSE dissector.
authorGuy Harris <guy@alum.mit.edu>
Mon, 28 May 2018 18:22:52 +0000 (11:22 -0700)
committerGuy Harris <guy@alum.mit.edu>
Mon, 28 May 2018 18:23:27 +0000 (18:23 +0000)
commit91c069d5b3dd4736653287a9e454b06354564011
tree719ff21c9333b447b9197e4e295d0cccee1ad2c9
parent315b905ed5be95caebfd5c87abc283d6f67eb02f
Fix test for early exit from MMSE dissector.

We don't need to dissect the body if 1) we're *not* building a protocol
tree (tree == NULL) *and* 2) the PDU doesn't have content that can be
handed off to subdissectors.

(Fix which vs. that issue in a comment while we're at it.)

Change-Id: I90890975c05e72cc9ebc776a21683905828f57b5
Reviewed-on: https://code.wireshark.org/review/27876
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/dissectors/packet-mmse.c