git.samba.org
/
metze
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Combine Decode As and port preferences for tcp.port dissector table.
[metze/wireshark/wip.git]
/
epan
/
dissectors
/
packet-daytime.c
diff --git
a/epan/dissectors/packet-daytime.c
b/epan/dissectors/packet-daytime.c
index ac77d244ac6e9cacff7c58dbd6a75b2766b49b53..a0b73df852eab8a6d9a1bd09e27165732f9f5e57 100644
(file)
--- a/
epan/dissectors/packet-daytime.c
+++ b/
epan/dissectors/packet-daytime.c
@@
-106,7
+106,7
@@
void
proto_reg_handoff_daytime(void)
{
dissector_add_uint("udp.port", DAYTIME_PORT, daytime_handle);
- dissector_add_uint("tcp.port", DAYTIME_PORT, daytime_handle);
+ dissector_add_uint
_with_preference
("tcp.port", DAYTIME_PORT, daytime_handle);
}
/*