commit | b8300080209f2f93d57cf10445ae7558c6281db4 | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Thu Dec 19 10:00:34 2013 +0100 |
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | Thu Jan 16 12:17:24 2014 +0100 |
tree | 24e6df495525224a902575f5ebc353a74f6d3fd8 | |
parent | d9c1d31a6a1f645aed109a8e2af8596136add930 [diff] |
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