diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2012-03-30 08:57:57 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2012-03-30 08:57:57 +0000 |
commit | 019008548bbaf3f575469c3c8f917a1b59331e12 (patch) | |
tree | 3906023cb44520e084508998a714584fe01f6153 /epan | |
parent | eb262d2cc2cf5db5176bea81a815efe67e9e682f (diff) | |
download | wireshark-019008548bbaf3f575469c3c8f917a1b59331e12.tar.gz |
Recreate the packet list when changing UAT for header fields.
This fixes a crash when changing settings for fields used as a custom column.
svn path=/trunk/; revision=41840
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-http.c | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-imf.c | 2 | ||||
-rw-r--r-- | epan/uat.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-http.c b/epan/dissectors/packet-http.c index dea23230f7..fbf50ed544 100644 --- a/epan/dissectors/packet-http.c +++ b/epan/dissectors/packet-http.c @@ -2722,7 +2722,7 @@ proto_register_http(void) TRUE, (void*) &header_fields, &num_header_fields, - UAT_CAT_GENERAL, + UAT_CAT_FIELDS, NULL, header_fields_copy_cb, header_fields_update_cb, diff --git a/epan/dissectors/packet-imf.c b/epan/dissectors/packet-imf.c index 3985fadcd3..b9c69654eb 100644 --- a/epan/dissectors/packet-imf.c +++ b/epan/dissectors/packet-imf.c @@ -1216,7 +1216,7 @@ proto_register_imf(void) TRUE, (void*) &header_fields, &num_header_fields, - UAT_CAT_GENERAL, + UAT_CAT_FIELDS, NULL, header_fields_copy_cb, header_fields_update_cb, diff --git a/epan/uat.h b/epan/uat.h index 53806ab9fa..50446ca0c2 100644 --- a/epan/uat.h +++ b/epan/uat.h @@ -226,6 +226,7 @@ typedef struct _uat_field_t { #define UAT_CAT_PORTS "Port Assignments" #define UAT_CAT_CRYPTO "Decryption" #define UAT_CAT_FFMT "File Formats" +#define UAT_CAT_FIELDS "Header Fields" /** Create a new uat * |