Fix "disable this protocol by default". master
authorGuy Harris <guy@alum.mit.edu>
Thu, 23 Jun 2016 19:45:32 +0000 (12:45 -0700)
committerGuy Harris <guy@alum.mit.edu>
Thu, 23 Jun 2016 19:45:51 +0000 (19:45 +0000)
commita5e9e7e7aed75cfec58ff33fc488baf6236c92c6
tree243b50849b0800c4ba5e055c1ddf4fc23f7611ad
parentdd5f3c96c300688cb996e52c163fb3f5a614706c
Fix "disable this protocol by default".

Allow a dissector to mark its protocol as "disabled by default", which
means that the "enable all protocols" routine won't enable it.  This is
necessary in order to allow the disabling of protocols not to be
unintentionally changed due to profile changes; see bug 9826.

Change-Id: I3947f794c21350b70a8de06899cfc7715b77f90f
Ping-Bug: 9826
Reviewed-on: https://code.wireshark.org/review/16109
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/dissectors/packet-prp.c
epan/proto.c
epan/proto.h