mgcp/rtp: Refactor mgcp_send to avoid code duplication

Currently there are two symmetric code paths which are selected by
the packet destination (NET or BTS).

This patch introduces 3 variables that take the different values
and unifies both code paths into one.

Sponsored-by: On-Waves ehf
1 file changed
tree: 24e6df495525224a902575f5ebc353a74f6d3fd8
  1. debian/
  2. hlrsync/
  3. linux-kernel/
  4. openbsc/
  5. wireshark/
  6. README