X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/2d1fefdb103465c572f87a5bcea3d5281ae124b9..3e2e05dd19885f9e2f7e605c58ef650c970874c8:/ppp.c?ds=inline diff --git a/ppp.c b/ppp.c index afbffd8..ee299cb 100644 --- a/ppp.c +++ b/ppp.c @@ -1946,7 +1946,7 @@ void processmpin(sessionidt s, tunnelidt t, uint8_t *p, uint16_t l) // return if a lost fragment is found if (!(this_fragmentation->fragment[begin_index].length)) - return; // assembling frame failed + goto discard_lost_frames; // assembling frame failed // get the end of his frame while (this_fragmentation->fragment[end_index].length) { @@ -1957,7 +1957,7 @@ void processmpin(sessionidt s, tunnelidt t, uint8_t *p, uint16_t l) // return if a lost fragment is found if (!(this_fragmentation->fragment[end_index].length)) - return; // assembling frame failed + goto discard_lost_frames; // assembling frame failed // assemble the packet //assemble frame, process it, reset fragmentation