woww: Register with decode_as instead of _with_preference

Feedback in PR
https://gitlab.com/wireshark/wireshark/-/merge_requests/8356#note_1121741591
This commit is contained in:
Gtker 2022-10-08 11:37:41 +02:00 committed by Alexis La Goutte
parent 1fa99c5f0d
commit 7f46c9fc56
1 changed files with 1 additions and 1 deletions

View File

@ -19970,7 +19970,7 @@ void
proto_reg_handoff_woww(void)
{
dissector_handle_t woww_handle = create_dissector_handle(dissect_woww, proto_woww);
dissector_add_uint_with_preference("tcp.port", WOWW_TCP_PORT, woww_handle);
dissector_add_for_decode_as("tcp.port", woww_handle);
}
/*