summaryrefslogtreecommitdiff
path: root/pppd_plugin
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-08-03 13:21:08 +0400
committerKozlov Dmitry <dima@server>2010-08-03 13:23:13 +0400
commitba8e1a64e75930a161afac9048e7d03b7f880644 (patch)
tree2067af947e0434c823a907f99b5b6de5ca57f97c /pppd_plugin
parent65422c607e372089677b7b254928d052b9bbe8fb (diff)
downloadaccel-ppp-xebd-ba8e1a64e75930a161afac9048e7d03b7f880644.tar.gz
accel-ppp-xebd-ba8e1a64e75930a161afac9048e7d03b7f880644.zip
* merged http://code.google.com/p/wl500g/source/browse/trunk/kernel/312-accel-pptp-custom.patch
* introduced gre demultiplexer module for pptp and ip_gre may coexists (prepare to merge pptp module to mainstream kernel, disabled by default)
Diffstat (limited to 'pppd_plugin')
-rw-r--r--pppd_plugin/src/pptp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pppd_plugin/src/pptp.c b/pppd_plugin/src/pptp.c
index 4df9188..1522d19 100644
--- a/pppd_plugin/src/pptp.c
+++ b/pppd_plugin/src/pptp.c
@@ -88,8 +88,6 @@ static option_t Options[] =
"PPTP socket" },
{ "pptp_phone", o_string, &pptp_phone,
"PPTP Phone number" },
- { "pptp_timeout", o_int, &pptp_timeout,
- "timeout for waiting reordered packets and acks"},
{ NULL }
};
@@ -169,8 +167,6 @@ static int pptp_start_client(void)
error("PPTP: failed to create PPTP socket (%s)\n",strerror(errno));
return -1;
}
- if (setsockopt(pptp_fd,0,PPTP_SO_TIMEOUT,&pptp_timeout,sizeof(pptp_timeout)))
- warn("PPTP: failed to setsockopt PPTP_SO_TIMEOUT (%s)\n",strerror(errno));
if (bind(pptp_fd,(struct sockaddr*)&src_addr,sizeof(src_addr)))
{
close(pptp_fd);