summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/l2tp/packet.c
AgeCommit message (Collapse)Author
2012-12-14l2tp: Fix allocation checking when adding octets AVPGuillaume Nault
l2tp_packet_add_octets() performs a malloc on the "octets" field of the L2TP attribute, but checks the "string" field for allocation failure. Though these fields should be equivalent in this case, the "octets" field should be logically checked instead of "string". Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-09-05Fix format string errorsGuillaume Nault
Fix several errors and compiler warnings in format string arguments. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-08-23L2TP: Tear down tunnel when peer stops listeningGuillaume Nault
Stop sending messages on tunnels for which no peer is listening. Discard retransmissions too. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-05-22Some AVP we are not handling yet, and it is better to provide optionKozlov Dmitry
to ignore them, instead of refusing connection. Signed-off-by: Denys Fedoryshchenko <denys@visp.net.lb>
2011-05-30rewrited initialization procedure (fix gcc-4.6 builds)Kozlov Dmitry
2011-01-05rename accel-pptp to accel-pppDmitry Kozlov