summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/l2tp/l2tp.c
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-06-26 20:50:19 +0200
committerDmitry Kozlov <xeb@mail.ru>2013-06-29 15:01:08 +0400
commitca024045c6f8b1fd19c928db861c3437bdc705a6 (patch)
treedf9b43b637b1dc7be52713eb8292187a6cc456a8 /accel-pppd/ctrl/l2tp/l2tp.c
parentcafc6f2c69d908f7b534fa3792029d3704b2fe88 (diff)
downloadaccel-ppp-ca024045c6f8b1fd19c928db861c3437bdc705a6.tar.gz
accel-ppp-ca024045c6f8b1fd19c928db861c3437bdc705a6.zip
l2tp: Unset ephemeral ports by default
Disable use of ephemeral ports by default since it poses problems with NAT and wasn't used in earlier versions of accel-ppp. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl/l2tp/l2tp.c')
-rw-r--r--accel-pppd/ctrl/l2tp/l2tp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/l2tp/l2tp.c b/accel-pppd/ctrl/l2tp/l2tp.c
index 5f731933..146a03ed 100644
--- a/accel-pppd/ctrl/l2tp/l2tp.c
+++ b/accel-pppd/ctrl/l2tp/l2tp.c
@@ -52,7 +52,7 @@ int conf_verbose = 0;
int conf_hide_avps = 0;
int conf_avp_permissive = 0;
static int conf_port = L2TP_PORT;
-static int conf_ephemeral_ports = 1;
+static int conf_ephemeral_ports = 0;
static int conf_timeout = 60;
static int conf_rtimeout = 5;
static int conf_retransmit = 5;