diff options
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-bootp.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-dua.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-iua.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c index 346517cf61..354e838ff0 100644 --- a/epan/dissectors/packet-bootp.c +++ b/epan/dissectors/packet-bootp.c @@ -3461,6 +3461,9 @@ proto_register_bootp(void) proto_register_subtree_array(ett, array_length(ett)); bootp_dhcp_tap = register_tap("bootp"); + /* Allow dissector to find be found by name. */ + register_dissector("bootp", dissect_bootp, proto_bootp); + bootp_module = prefs_register_protocol(proto_bootp, NULL); prefs_register_bool_preference(bootp_module, "novellserverstring", diff --git a/epan/dissectors/packet-dua.c b/epan/dissectors/packet-dua.c index 1cdc309773..8a8775781d 100644 --- a/epan/dissectors/packet-dua.c +++ b/epan/dissectors/packet-dua.c @@ -753,6 +753,9 @@ proto_register_dua(void) /* Required function calls to register the header fields and subtrees used */ proto_register_field_array(proto_dua, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); + + /* Allow other dissectors to find this one by name. */ + register_dissector("dua", dissect_dua, proto_dua); } void diff --git a/epan/dissectors/packet-iua.c b/epan/dissectors/packet-iua.c index d62297a2e4..874f5de051 100644 --- a/epan/dissectors/packet-iua.c +++ b/epan/dissectors/packet-iua.c @@ -892,6 +892,9 @@ proto_register_iua(void) proto_register_field_array(proto_iua, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); prefs_register_bool_preference(iua_module, "support_ig", "Support Implementers Guide", "Support Implementers Guide (version 01)", &support_IG); + + /* Allow other dissectors to find this one by name. */ + register_dissector("iua", dissect_iua, proto_iua); } #define SCTP_PORT_IUA 9900 |