summaryrefslogtreecommitdiff
path: root/epan/ftypes/ftype-ipv6.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-05-02 21:44:48 -0400
committerMichael Mann <mmann78@netscape.net>2016-05-05 19:27:55 +0000
commit5493fe01671f7f293eb87edb780019c889859153 (patch)
treeb9e693b03d0c99c974ceb2255965b8fe1ecef879 /epan/ftypes/ftype-ipv6.c
parentec382e89cb71be1bbd67854799de887d3e9746fe (diff)
downloadwireshark-5493fe01671f7f293eb87edb780019c889859153.tar.gz
Convert ftype-tvbuff.c to ftype-protocol.c
As noted in https://www.wireshark.org/lists/wireshark-dev/201604/msg00103.html a protocol field isn't really a tv_buff, so allow for the possibility of a NULL tv_buff in a "protocol type". If the tvb is NULL, use the string of the protocol field for comparison Bug: 12335 Change-Id: Ie12a5f7b31c7293c61006b0f70135d100a97c4e0 Reviewed-on: https://code.wireshark.org/review/15261 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/ftypes/ftype-ipv6.c')
-rw-r--r--epan/ftypes/ftype-ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/ftypes/ftype-ipv6.c b/epan/ftypes/ftype-ipv6.c
index 6f33cb581c..9540fb25ca 100644
--- a/epan/ftypes/ftype-ipv6.c
+++ b/epan/ftypes/ftype-ipv6.c
@@ -242,7 +242,7 @@ ftype_register_ipv6(void)
NULL, /* set_value_guid */
NULL, /* set_value_time */
NULL, /* set_value_string */
- NULL, /* set_value_tvbuff */
+ NULL, /* set_value_protocol */
NULL, /* set_value_uinteger */
NULL, /* set_value_sinteger */
NULL, /* set_value_uinteger64 */