aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-eth.c')
-rw-r--r--epan/dissectors/packet-eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c
index 4a548212a3..21e7e1195e 100644
--- a/epan/dissectors/packet-eth.c
+++ b/epan/dissectors/packet-eth.c
@@ -972,5 +972,5 @@ proto_reg_handoff_eth(void)
* command - it encapsulates Ethernet frames in UDP packets, but
* the UDP port is user-defined.
*/
- dissector_add_handle("udp.port", eth_withoutfcs_handle);
+ dissector_add_for_decode_as("udp.port", eth_withoutfcs_handle);
}