summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-06-06 14:25:00 +0200
committerDmitry Kozlov <xeb@mail.ru>2013-06-06 17:26:40 +0400
commitd630170ae867239b6898e3330d20f77d620a9c96 (patch)
treeb3bbcd74156807caa965faca81fc75ade1439e93
parent9ba02ed111f321b71bd526c95bbf559d4cee4de8 (diff)
downloadaccel-ppp-d630170ae867239b6898e3330d20f77d620a9c96.tar.gz
accel-ppp-d630170ae867239b6898e3330d20f77d620a9c96.zip
l2tp: Define conf_port as static
This variable doesn't need to be visible outside of its compilation unit. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
-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 f109fbc9..8f763883 100644
--- a/accel-pppd/ctrl/l2tp/l2tp.c
+++ b/accel-pppd/ctrl/l2tp/l2tp.c
@@ -48,10 +48,10 @@
#define STATE_FIN 9
#define STATE_CLOSE 0
-int conf_port = L2TP_PORT;
int conf_verbose = 0;
int conf_hide_avps = 0;
int conf_avp_permissive = 0;
+static int conf_port = L2TP_PORT;
static int conf_timeout = 60;
static int conf_rtimeout = 5;
static int conf_retransmit = 5;