diff options
Diffstat (limited to 'asn1/x509ce')
-rw-r--r-- | asn1/x509ce/packet-x509ce-template.c | 6 | ||||
-rw-r--r-- | asn1/x509ce/x509ce.cnf | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/asn1/x509ce/packet-x509ce-template.c b/asn1/x509ce/packet-x509ce-template.c index d463058d29..c725d15adb 100644 --- a/asn1/x509ce/packet-x509ce-template.c +++ b/asn1/x509ce/packet-x509ce-template.c @@ -49,6 +49,7 @@ int proto_x509ce = -1; static int hf_x509ce_id_ce_invalidityDate = -1; static int hf_x509ce_id_ce_baseUpdateTime = -1; static int hf_x509ce_object_identifier_id = -1; +static int hf_x509ce_IPAddress = -1; #include "packet-x509ce-hf.c" /* Initialize the subtree pointers */ @@ -87,7 +88,10 @@ void proto_register_x509ce(void) { { &hf_x509ce_object_identifier_id, { "Id", "x509ce.id", FT_STRING, BASE_NONE, NULL, 0, "Object identifier Id", HFILL }}, - + { &hf_x509ce_IPAddress, + { "iPAddress", "x509ce.IPAddress", FT_IPv4, BASE_NONE, NULL, 0, + "IP Address", HFILL }}, + #include "packet-x509ce-hfarr.c" }; diff --git a/asn1/x509ce/x509ce.cnf b/asn1/x509ce/x509ce.cnf index 968b0b9b91..fcba1a10ef 100644 --- a/asn1/x509ce/x509ce.cnf +++ b/asn1/x509ce/x509ce.cnf @@ -108,6 +108,9 @@ SkipCerts B "2.5.29.54" "id-ce-inhibitAnyPolicy" #.FN_BODY PolicyQualifierValue offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree); +#.FN_BODY GeneralName/iPAddress + proto_tree_add_item(tree, hf_x509ce_IPAddress, tvb, offset, 4, FALSE); + offset+=4; #.END |