changeset 183:3962d9345a09

rtp-mgr: use new EP type constant names
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Mar 2023 21:48:23 -0800
parents f4ed6042e16c
children f8c40090a0a8
files rtp-mgr/ctrl_prot.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/rtp-mgr/ctrl_prot.c	Sat Mar 11 21:44:40 2023 -0800
+++ b/rtp-mgr/ctrl_prot.c	Sat Mar 11 21:48:23 2023 -0800
@@ -66,8 +66,8 @@
 	bzero(&resp, sizeof resp);
 	resp.transact_ref = req.transact_ref;
 	switch (req.ep_type) {
-	case TMGW_EP_TYPE_DUMMY_GSM:
-	case TMGW_EP_TYPE_DUMMY_PSTN:
+	case TMGW_EP_TYPE_GSM_ONLY:
+	case TMGW_EP_TYPE_PSTN_ONLY:
 	case TMGW_EP_TYPE_GATEWAY:
 		break;
 	default:
@@ -108,12 +108,12 @@
 	iov.iov_len = sizeof resp;
 	/* file descriptor passing voodoo */
 	switch (req.ep_type) {
-	case TMGW_EP_TYPE_DUMMY_GSM:
+	case TMGW_EP_TYPE_GSM_ONLY:
 		num_fd = 2;
 		fd_out[0] = rtp_gsm.rtp_fd;
 		fd_out[1] = rtp_gsm.rtcp_fd;
 		break;
-	case TMGW_EP_TYPE_DUMMY_PSTN:
+	case TMGW_EP_TYPE_PSTN_ONLY:
 		num_fd = 2;
 		fd_out[0] = rtp_pstn.rtp_fd;
 		fd_out[1] = rtp_pstn.rtcp_fd;