On Jun 15, 2010, at 1:31 PM, eymanm wrote:
> proto_tree_add_int(wca_tree, hf_wca_label_2_number, tvb, offset, 4, 26);
>
> When I run it, it troughs an exception: proto.c:2926: failed assertion
> "DISSECTOR_ASSERT_NOT_REACHED"
>
> What's wrong?
What's probably wrong is that hf_wca_label_2_numb
Now I'm trying to make it to work. I start with a perfectly working
statement:
proto_tree_add_item(wca_tree, hf_wca_label_2_number, tvb, offset, 4, FALSE);
and transform it to:
proto_tree_add_int(wca_tree, hf_wca_label_2_number, tvb, offset, 4, 26);
When I run it, it troughs an exception: proto
Mark Eyman wrote:
> I'd like to add a value that was fetched into a variable to the protocol
> tree. The README.developer tells that the proto_tree_add_int()routine
> suppose to do that. Hence if I look on the definition in the epan\proto.h,
> it requires all the parameters related to the tvb, but
On Jun 14, 2010, at 2:45 PM, Mark Eyman wrote:
> I'd like to add a value that was fetched into a variable to the protocol
> tree. The README.developer tells that the proto_tree_add_int()routine suppose
> to do that. Hence if I look on the definition in the epan\proto.h, it
> requires all the p
I'd like to add a value that was fetched into a variable to the protocol
tree. The README.developer tells that the proto_tree_add_int()routine
suppose to do that. Hence if I look on the definition in the epan\proto.h,
it requires all the parameters related to the tvb, but no references to the
varia