Added back in volga629's changes to allow multiple interfaces - also

duplicated the same for IPv6
pull/146/head
Damian Ivereigh 10 years ago
parent 0390782e22
commit 57e25ea45a

@ -56,10 +56,13 @@ build_opts() {
fi
shopt -u nocasematch
if [[ -n "$RTP_IP" ]]
then
OPTS+=" --interface=$RTP_IP"
fi
if [[ -n "$RTP_IP" ]]
then
for IP in "${RTP_IP[@]}"
do
OPTS+=" --interface=$IP"
done
fi
if [[ -n "$RTP_ADV_IP" ]]
then
@ -68,7 +71,10 @@ build_opts() {
if [[ -n "$RTP_IP6" ]]
then
OPTS+=" --interface=$RTP_IP6"
for IP in "${RTP_IP6[@]}"
do
OPTS+=" --interface=$IP"
done
IP6=1
fi

Loading…
Cancel
Save