aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Karlsson <oakimk@gmail.com>2017-11-16 17:31:07 +0100
committerAnders Broman <a.broman58@gmail.com>2017-11-16 18:37:12 +0000
commitd9f8ddd78049eea607e052c562813e95475e8c44 (patch)
tree3594955e1416dbc424dd01b2b09f836ef951257a
parente2deb54414d4b54bf44f8369ccc9a0ad8fc7c172 (diff)
[PFCP] add port 8805
Port assigned by IANA Change-Id: Ic04bc41878561239c83025ff2d5573daf7947b5b Reviewed-on: https://code.wireshark.org/review/24451 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-pfcp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pfcp.c b/epan/dissectors/packet-pfcp.c
index f6fbf32..82b3d78 100644
--- a/epan/dissectors/packet-pfcp.c
+++ b/epan/dissectors/packet-pfcp.c
@@ -39,6 +39,8 @@ void proto_reg_handoff_pfcp(void);
static dissector_handle_t pfcp_handle;
static dissector_handle_t pfcp_3gpp_ies_handle;
+#define UDP_PORT_PFCP 8805
+
static int proto_pfcp = -1;
static int hf_pfcp_msg_type = -1;
@@ -5207,8 +5209,7 @@ proto_register_pfcp(void)
void
proto_reg_handoff_pfcp(void)
{
-
- dissector_add_for_decode_as_with_preference("udp.port", pfcp_handle);
+ dissector_add_uint_with_preference("udp.port", UDP_PORT_PFCP, pfcp_handle);
/* Register 3GPP in the table to give expert info and serve as an example how to add decoding of enterprise IEs*/
dissector_add_uint("pfcp.enterprise_ies", VENDOR_THE3GPP, pfcp_3gpp_ies_handle);