Register in the UDP heuristic table rather than the internal one.

svn path=/trunk/; revision=47133
This commit is contained in:
Anders Broman 2013-01-17 16:10:22 +00:00
parent 71dd7c2fe4
commit c6f702432e
2 changed files with 4 additions and 2 deletions

View File

@ -200,10 +200,11 @@ static value_string_ext bssap_plus_message_type_values_ext = VALUE_STRING_EXT_IN
#define BSSAP_CELL_GBL_ID 0x18
#define BSSAP_LOC_INF_AGE 0x19
#define BSSAP_MOBILE_STN_STATE 0x1a
#define BSSAP_SERVICE_AREA_ID 0x1e
#define BSSAP_ERRONEOUS_MSG 0x1b
#define BSSAP_DLINK_TNL_PLD_CTR_AND_INF 0x1c
#define BSSAP_ULINK_TNL_PLD_CTR_AND_INF 0x1d
#define BSSAP_SERVICE_AREA_ID 0x1e
#define BSSAP_MSI_BASED_NRI_CON 0x1f
static const value_string bssap_plus_ie_id_values[] = {
{ BSSAP_IMSI, "IMSI" }, /* 18.4.10 */
@ -236,6 +237,7 @@ static const value_string bssap_plus_ie_id_values[] = {
{ BSSAP_DLINK_TNL_PLD_CTR_AND_INF, "Downlink Tunnel Payload Control and Info" }, /* 18.4.3 */
{ BSSAP_ULINK_TNL_PLD_CTR_AND_INF, "Uplink Tunnel Payload Control and Info" }, /* 18.4.25 */
{ BSSAP_SERVICE_AREA_ID, "Service Area Identification" }, /* 18.4.21b */
{ BSSAP_MSI_BASED_NRI_CON, "TMSI based NRI container" }, /* 18.4.28 */
{ 0, NULL }
};
static value_string_ext bssap_plus_ie_id_values_ext = VALUE_STRING_EXT_INIT(bssap_plus_ie_id_values);

View File

@ -1353,7 +1353,7 @@ proto_reg_handoff_stun(void)
dissector_add_handle("tcp.port", stun_tcp_handle);
dissector_add_handle("udp.port", stun_udp_handle);
heur_dissector_add("stun", dissect_stun_heur, proto_stun);
heur_dissector_add("udp", dissect_stun_heur, proto_stun);
data_handle = find_dissector("data");
}