summaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vppcom.c4
-rw-r--r--src/vcl/vppcom.h6
2 files changed, 1 insertions, 9 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index 4fc8bfce581..173b7fdd556 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -1556,10 +1556,6 @@ vppcom_unformat_proto (uint8_t * proto, char *proto_str)
*proto = VPPCOM_PROTO_UDP;
else if (!strcmp (proto_str, "udp"))
*proto = VPPCOM_PROTO_UDP;
- else if (!strcmp (proto_str, "UDPC"))
- *proto = VPPCOM_PROTO_UDPC;
- else if (!strcmp (proto_str, "udpc"))
- *proto = VPPCOM_PROTO_UDPC;
else if (!strcmp (proto_str, "TLS"))
*proto = VPPCOM_PROTO_TLS;
else if (!strcmp (proto_str, "tls"))
diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h
index 902e9ea5d47..e2e0ae7d4bf 100644
--- a/src/vcl/vppcom.h
+++ b/src/vcl/vppcom.h
@@ -51,7 +51,6 @@ typedef enum
VPPCOM_PROTO_UDP,
VPPCOM_PROTO_NONE,
VPPCOM_PROTO_TLS,
- VPPCOM_PROTO_UDPC,
VPPCOM_PROTO_QUIC,
} vppcom_proto_t;
@@ -71,9 +70,6 @@ vppcom_proto_str (vppcom_proto_t proto)
case VPPCOM_PROTO_TLS:
proto_str = "TLS";
break;
- case VPPCOM_PROTO_UDPC:
- proto_str = "UDPC";
- break;
case VPPCOM_PROTO_QUIC:
proto_str = "QUIC";
break;
@@ -87,7 +83,7 @@ vppcom_proto_str (vppcom_proto_t proto)
static inline int
vcl_proto_is_dgram (uint8_t proto)
{
- return proto == VPPCOM_PROTO_UDP || proto == VPPCOM_PROTO_UDPC;
+ return proto == VPPCOM_PROTO_UDP;
}
typedef enum