Make the corresponding packet_info available to each tree item. This
authorGerald Combs <gerald@wireshark.org>
Fri, 10 Aug 2012 20:33:01 +0000 (20:33 -0000)
committerGerald Combs <gerald@wireshark.org>
Fri, 10 Aug 2012 20:33:01 +0000 (20:33 -0000)
commitcd3cca7edca2c52fea2afce5f248370f5fdcbd4f
tree2def04abc1c80331776942f588ecae42cfe85291
parentf464eb4b5839cc1a9a222c6a5e3f701af4cb1305
Make the corresponding packet_info available to each tree item. This
lets us pass a NULL pinfo to expert_add_info_format() and
expert_add_undecoded_item(), which makes it possible to use those
routines deep in the bowels of many dissectors. As a proof of concept
remove the recent pinfo additions to packet-afp.c. This should also make
it easier to fix bug 3884.

svn path=/trunk/; revision=44435
epan/dissectors/packet-afp.c
epan/dissectors/packet-ncp2222.inc
epan/epan.c
epan/expert.c
epan/expert.h
epan/proto.c
epan/proto.h