# HG changeset patch # User Mychaela Falconia # Date 1678600103 28800 # Node ID 3962d9345a0944108dd6a8262481d1eee9231fe9 # Parent f4ed6042e16c3847817e8c3e7ae519be06529262 rtp-mgr: use new EP type constant names diff -r f4ed6042e16c -r 3962d9345a09 rtp-mgr/ctrl_prot.c --- 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;