diff options
author | Kozlov Dmitry <dima@server> | 2010-11-09 17:33:16 +0300 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-11-09 17:33:16 +0300 |
commit | e2754301d6ff0020c5ff349491ad814cbc70161c (patch) | |
tree | 434e40b73c0b1e35b8568d5e397e1e615d32913a /accel-pptpd/ctrl/l2tp | |
parent | 47453cf43b076631bb2a8455c14f39298cdea1ca (diff) | |
download | accel-ppp-e2754301d6ff0020c5ff349491ad814cbc70161c.tar.gz accel-ppp-e2754301d6ff0020c5ff349491ad814cbc70161c.zip |
ppp: reduced length of session id
Diffstat (limited to 'accel-pptpd/ctrl/l2tp')
-rw-r--r-- | accel-pptpd/ctrl/l2tp/l2tp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pptpd/ctrl/l2tp/l2tp.c b/accel-pptpd/ctrl/l2tp/l2tp.c index 5bfe89ef..c9af9126 100644 --- a/accel-pptpd/ctrl/l2tp/l2tp.c +++ b/accel-pptpd/ctrl/l2tp/l2tp.c @@ -1015,6 +1015,8 @@ static void start_udp_server(void) log_emerg("l2tp: socket: %s\n", strerror(errno)); return; } + + memset(&addr, 0, sizeof(addr)); addr.sin_family = AF_INET; addr.sin_port = htons(L2TP_PORT); |