Skip to content

Commit

Permalink
pidl-wireshark: add definition for IPV4/IPV6 types
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Patou <[email protected]>
Reviewed-by: Stefan Metzmacher <[email protected]>
  • Loading branch information
ekacnet authored and metze-samba committed Oct 23, 2014
1 parent 725500f commit 49e0dc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pidl/lib/Parse/Pidl/Wireshark/NDR.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,8 @@ sub Initialize($$)
"offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, \@HF\@, \@PARAM\@);","FT_UINT32", "BASE_DEC", 0, "VALS(WERR_errors)", 4);
$self->register_type("NTSTATUS",
"offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, drep, \@HF\@, \@PARAM\@);","FT_UINT32", "BASE_DEC", 0, "VALS(NT_errors)", 4);
$self->register_type("ipv6address", "proto_tree_add_item(tree, \@HF\@, tvb, offset, 16, ENC_NA); offset += 16;", "FT_IPv6", "BASE_NONE", 0, "NULL", 16);
$self->register_type("ipv4address", "proto_tree_add_item(tree, \@HF\@, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4;", "FT_IPv4", "BASE_NONE", 0, "NULL", 4);

}

Expand Down

0 comments on commit 49e0dc7

Please sign in to comment.