diff options
Diffstat (limited to 'epan/dissectors/packet-tns.c')
-rw-r--r-- | epan/dissectors/packet-tns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tns.c b/epan/dissectors/packet-tns.c index 137d4b71a1..ef0ee5cf0a 100644 --- a/epan/dissectors/packet-tns.c +++ b/epan/dissectors/packet-tns.c @@ -157,7 +157,7 @@ static gint ett_tns_ntp_flag = -1; static gint ett_tns_conn_flag = -1; static gint ett_sql = -1; -#define TCP_PORT_TNS 1521 +#define TCP_PORT_TNS 1521 /* Not IANA registered */ static const value_string tns_type_vals[] = { {TNS_TYPE_CONNECT, "Connect" }, @@ -1223,7 +1223,7 @@ proto_reg_handoff_tns(void) dissector_handle_t tns_handle; tns_handle = create_dissector_handle(dissect_tns, proto_tns); - dissector_add_uint("tcp.port", TCP_PORT_TNS, tns_handle); + dissector_add_uint_with_preference("tcp.port", TCP_PORT_TNS, tns_handle); } /* |