Browse Source

Merge branch 'sybasesql-master'

pull/60/head
Richard Fuchs 11 years ago
parent
commit
cf9d3aeeee
2 changed files with 17 additions and 23 deletions
  1. +15
    -19
      el/rtpengine.init
  2. +2
    -4
      el/rtpengine.sysconfig

+ 15
- 19
el/rtpengine.init View File

@ -56,26 +56,22 @@ build_opts() {
fi
shopt -u nocasematch
if [[ -n "$RTP_IP" ]]
then
OPTS+=" --interface=$RTP_IP"
fi
if [[ -n "$RTP_ADV_IP" ]]
then
OPTS+="!$RTP_ADV_IP"
fi
if [[ -n "$RTP_IP6" ]]
then
OPTS+=" --interface=$RTP_IP6"
IP6=1
fi
if [[ -n "$RTP_IP" ]]
then
for IP in "${RTP_IP[@]}"
do
OPTS+=" --interface=$IP"
done
fi
if [[ -n "$RTP_ADV_IP6" ]]
then
OPTS+="!$RTP_ADV_IP6"
fi
if [[ -n "$RTP_IP6" ]]
then
for IP6 in "${RTP_IP6[@]}"
do
OPTS+=" --interface=$IP6"
done
IP6=1
fi
if [[ -n "$LISTEN_TCP" ]]
then


+ 2
- 4
el/rtpengine.sysconfig View File

@ -8,10 +8,8 @@ TABLE=0 # (o) iptables table for in-kernel forwarding rules
# comment out when "KERNEL=no"
FALLBACK=yes # (m) "yes" enables fallback to userspace forwarding
# only, "no" disables
RTP_IP=127.0.0.1 # (m) Local IPv4 address for packet forwarding
#RTP_ADV_IP=127.0.0.1 # (o) IPv4 address to "advertise" for packet forwarding
#RTP_IP6=::1 # (o) Local IPv6 address for packet forwarding
#RTP_ADV_IP6=::1 # (o) IPv6 address to "advertise" for packet forwarding
RTP_IP[0]=127.0.0.1 # (m) Local IPv4 address for RTP. The format of the value is [NAME/]IP[!IP].
#RTP_IP6[0]=::1 # (o) Local IPv6 address for RTP. The format of the value is [NAME/]IP[!IP].
#
# At least one of LISTEN_(TCP|UDP|NG) is required
#LISTEN_TCP=127.0.0.1:2222 # IP address and port combination for TCP


Loading…
Cancel
Save