rtpproxy: add iface translation to init 385/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Mon, 5 Nov 2018 19:59:29 +0000 (20:59 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Mon, 5 Nov 2018 19:59:31 +0000 (20:59 +0100)
commit3da92d2359d2ef79a996542bc5f02598a4557e1e
tree4452ccbff5d978c68d82986af738bcb3fc7371a0
parent76b09155bc682bb9fd279aa27efa78fa61730684
rtpproxy: add iface translation to init

rtpproxy expects IPs as parameters. Lots of OpenWrt devices use
connections where the IP is dynamically assigned. This commit adds shell
functions to convert an iface like 'wan' to an IP address before adding
the parameter to the rtpproxy command line.

Explanation is provided in /etc/config/rtpproxy. Some whitespace issues
were also fixed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/rtpproxy/Makefile
net/rtpproxy/files/rtpproxy.config
net/rtpproxy/files/rtpproxy.init