diff options
author | Michael Mann <mmann78@netscape.net> | 2014-11-15 20:35:51 -0500 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-11-16 13:45:18 +0000 |
commit | f92ed4df2d4720720080d8013da124a0eb956de7 (patch) | |
tree | 2b3bf92972a849fe668f121e53e45bfe1b7c6451 /epan/wslua | |
parent | 3b8ed366ddd149f2cc1428a713235c18afc192e7 (diff) |
Remove ipproto member of packet_info.
All situations can be handled with "shimmed" dissector functions.
Change-Id: Ic85483b32d99d3270b193c9f6b29574d8fad46a8
Reviewed-on: https://code.wireshark.org/review/5327
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: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/wslua')
-rw-r--r-- | epan/wslua/wslua_pinfo.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/wslua/wslua_pinfo.c b/epan/wslua/wslua_pinfo.c index abe78eb1c9..9fdb5a9ed6 100644 --- a/epan/wslua/wslua_pinfo.c +++ b/epan/wslua/wslua_pinfo.c @@ -949,9 +949,6 @@ WSLUA_ATTRIBUTE_BLOCK_NUMBER_GETTER(Pinfo,delta_ts,lua_delta_nstime_to_sec(obj, /* WSLUA_ATTRIBUTE Pinfo_delta_dis_ts RO Number of seconds passed since the last displayed packet. */ WSLUA_ATTRIBUTE_BLOCK_NUMBER_GETTER(Pinfo,delta_dis_ts,lua_delta_nstime_to_sec(obj, obj->ws_pinfo->fd, obj->ws_pinfo->fd->prev_dis_num)); -/* WSLUA_ATTRIBUTE Pinfo_ipproto RO IP Protocol id. */ -PINFO_NUMBER_GETTER(ipproto); - /* WSLUA_ATTRIBUTE Pinfo_circuit_id RW For circuit based protocols. */ PINFO_NUMBER_GETTER(circuit_id); PINFO_NUMBER_SETTER(circuit_id,guint32); @@ -1173,7 +1170,6 @@ WSLUA_ATTRIBUTES Pinfo_attributes[] = { WSLUA_ATTRIBUTE_ROREG(Pinfo,port_type), WSLUA_ATTRIBUTE_RWREG(Pinfo,src_port), WSLUA_ATTRIBUTE_RWREG(Pinfo,dst_port), - WSLUA_ATTRIBUTE_ROREG(Pinfo,ipproto), WSLUA_ATTRIBUTE_RWREG(Pinfo,circuit_id), WSLUA_ATTRIBUTE_ROREG(Pinfo,match), WSLUA_ATTRIBUTE_ROREG(Pinfo,curr_proto), |