diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-07-17 14:58:03 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-07-18 01:33:32 +0000 |
commit | 4b8cb97ab48d3863bf063ec68e87d8373dcc9fae (patch) | |
tree | 0d51097947dcf078f69ef209f7946d10e31b1bb7 /epan/dissectors/packet-ipv6.c | |
parent | 1a3fc2e7af060cd41a22ee9774507871d7fcc72f (diff) |
Rename iph->ip_p to iph->ip_nxt
struct ws_ip is IP version agnostic. "ip_p" is too terse and less
appropriate.
Change-Id: I06b8740ab420e20781bf7b9efcf5dce19ad22ab2
Reviewed-on: https://code.wireshark.org/review/16519
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'epan/dissectors/packet-ipv6.c')
-rw-r--r-- | epan/dissectors/packet-ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ipv6.c b/epan/dissectors/packet-ipv6.c index 1a31ddc0dd..f7b5597cb6 100644 --- a/epan/dissectors/packet-ipv6.c +++ b/epan/dissectors/packet-ipv6.c @@ -2214,7 +2214,7 @@ dissect_ipv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_ if (!ipv6_exthdr_under_root) { proto_item_set_len (ipv6_item, offset); } - iph.ip_p = nxt; + iph.ip_nxt = nxt; /* collect packet info */ p_add_proto_data(pinfo->pool, pinfo, proto_ipv6, (pinfo->curr_layer_num<<8) | IPV6_PROTO_VALUE, GUINT_TO_POINTER((guint)nxt)); |