diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-03-15 21:47:59 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-03-16 08:34:46 +0400 |
commit | f7d4b0ba1c00c6e56af8e8b3ca64b09fb06f5ba7 (patch) | |
tree | e0c753e94e4fe2e22d16ba875f51c2c9a8118656 /accel-pppd/cli | |
parent | 47d51c689d2e80f09b0815d0905e15e4d16ae0bb (diff) | |
download | accel-ppp-f7d4b0ba1c00c6e56af8e8b3ca64b09fb06f5ba7.tar.gz accel-ppp-f7d4b0ba1c00c6e56af8e8b3ca64b09fb06f5ba7.zip |
l2tp: Fix early message sending during tunnel establishment
A side effect of setting peer port to zero when sending SCCRQ messages
is that the tunnel can't send any new message before receiving first
peer's answer (this doesn't apply to retransmissions as peer port is
set in the original packet). It is then impossible to send StopCCN
messages within this time frame.
This patch fixes this issue using a new tunnel flag which indicates if
tunnel's peer port has a default value or if it has been set after
reception of peer's first message.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/cli')
0 files changed, 0 insertions, 0 deletions