mgcp: Rename transcoder_end to trans_net
Packets arriving for trans_net will be send out to the
networking. We will introduce a trans_bts in a second.
diff --git a/openbsc/src/mgcp/mgcp_vty.c b/openbsc/src/mgcp/mgcp_vty.c
index d284abf..f173882 100644
--- a/openbsc/src/mgcp/mgcp_vty.c
+++ b/openbsc/src/mgcp/mgcp_vty.c
@@ -106,7 +106,7 @@
inet_ntoa(endp->bts_end.addr),
endp->bts_end.packets, endp->bts_state.lost_no,
endp->net_end.packets, endp->net_state.lost_no,
- endp->transcoder_end.packets,
+ endp->trans_net.packets,
VTY_NEWLINE);
}
@@ -529,7 +529,7 @@
LOGP(DMGCP, LOGL_FATAL, "Failed to bind: %d\n", rtp_port);
return -1;
}
- endp->transcoder_end.local_alloc = PORT_ALLOC_STATIC;
+ endp->trans_net.local_alloc = PORT_ALLOC_STATIC;
}
}