diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-09-07 16:44:56 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-09-07 23:58:57 +0000 |
commit | f6d0e0946e140591afaf50a7a561679d3c4c2442 (patch) | |
tree | a23042ec9abe45a00fad2d49e8e4718223a3dc56 | |
parent | a6360b6cc0dd60fbe250a7e3359b17858f15625f (diff) | |
download | wireshark-f6d0e0946e140591afaf50a7a561679d3c4c2442.tar.gz wireshark-f6d0e0946e140591afaf50a7a561679d3c4c2442.tar.bz2 wireshark-f6d0e0946e140591afaf50a7a561679d3c4c2442.zip |
Add a new expert info type for decryption problems.
This is what should be used if, for some reason, decryption can't be
performed. (And if there's a known reason why decryption can't be
performed, it should be used, so the user knows why their
802.11/SSL/whatever traffic isn't decrypted, and either doesn't have to
ask why or, at least, can give more details when they do ask why.)
(Yes, I plan to use this for the 802.11 decryption code. Work in
progress.)
Change-Id: I812e61c2a4613d2e85f9ced1f5ed6ae91ac5f7ae
Reviewed-on: https://code.wireshark.org/review/10421
Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r-- | epan/expert.c | 1 | ||||
-rw-r--r-- | epan/proto.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/epan/expert.c b/epan/expert.c index 64866dc82a..9dd53863fb 100644 --- a/epan/expert.c +++ b/epan/expert.c @@ -80,6 +80,7 @@ const value_string expert_group_vals[] = { { PI_PROTOCOL, "Protocol" }, { PI_SECURITY, "Security" }, { PI_COMMENTS_GROUP, "Comment" }, + { PI_DECRYPTION, "Decryption" }, { 0, NULL } }; diff --git a/epan/proto.h b/epan/proto.h index 2e9e1bbe09..a3c539be2f 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -742,6 +742,8 @@ typedef proto_node proto_item; #define PI_SECURITY 0x0a000000 /** The protocol field indicates a packet comment */ #define PI_COMMENTS_GROUP 0x0b000000 +/** The protocol field indicates a decryption problem */ +#define PI_DECRYPTION 0x0c000000 /* add more, see https://wiki.wireshark.org/Development/ExpertInfo */ |