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

Loading…
Cancel
Save