diff options
author | Florin Coras <fcoras@cisco.com> | 2020-10-20 14:59:43 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-10-21 10:56:34 +0000 |
commit | b040f98a88954ccf2e63fd7b2676865a2dbe0078 (patch) | |
tree | 8dd81604626dbb5cda19540a439e491a197e5491 /src/vnet/udp/udp_local.c | |
parent | 8aa18562152b0d135a72d27e3dd72a831b68d0ce (diff) |
misc: minimize dependencies on udp.h
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Id13f33843b230a1d169560742c4f7b2dc17d8718
Diffstat (limited to 'src/vnet/udp/udp_local.c')
-rw-r--r-- | src/vnet/udp/udp_local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/udp/udp_local.c b/src/vnet/udp/udp_local.c index 8efcda1da14..61aafaf8896 100644 --- a/src/vnet/udp/udp_local.c +++ b/src/vnet/udp/udp_local.c @@ -525,7 +525,7 @@ udp_unregister_dst_port (vlib_main_t * vm, udp_dst_port_t dst_port, u8 is_ip4) n[0] = UDP_NO_NODE_SET; } -bool +u8 udp_is_valid_dst_port (udp_dst_port_t dst_port, u8 is_ip4) { udp_main_t *um = &udp_main; |