Skip to content

Commit

Permalink
rtp_relay: rework answer flags to match $rtp_relay
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Jan 11, 2022
1 parent 3083b9f commit 095ffcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/rtp_relay/rtp_relay_ctx.c
Expand Up @@ -543,12 +543,12 @@ static int rtp_relay_answer(struct rtp_relay_session *info,
}

if (sess->relay->funcs.answer(info, &sess->server,
RTP_RELAY_FLAGS(type, RTP_RELAY_FLAGS_IP),
RTP_RELAY_FLAGS(RTP_RELAY_PEER(type), RTP_RELAY_FLAGS_IP),
RTP_RELAY_FLAGS(RTP_RELAY_PEER(type), RTP_RELAY_FLAGS_TYPE),
RTP_RELAY_FLAGS(RTP_RELAY_PEER(type), RTP_RELAY_FLAGS_IFACE),
RTP_RELAY_FLAGS(type, RTP_RELAY_FLAGS_IFACE),
RTP_RELAY_FLAGS(RTP_RELAY_PEER(type), RTP_RELAY_FLAGS_IFACE),
RTP_RELAY_FLAGS(type, RTP_RELAY_FLAGS_SELF),
RTP_RELAY_FLAGS(type, RTP_RELAY_FLAGS_PEER), body) < 0) {
RTP_RELAY_FLAGS(RTP_RELAY_PEER(type), RTP_RELAY_FLAGS_PEER), body) < 0) {
LM_ERR("could not engage answer!\n");
return -1;
}
Expand Down

0 comments on commit 095ffcd

Please sign in to comment.