projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0753f6f
)
continue, not return
author
Brendan O'Dea
<bod@optus.net>
Thu, 25 Nov 2004 02:49:18 +0000
(
02:49
+0000)
committer
Brendan O'Dea
<bod@optus.net>
Thu, 25 Nov 2004 02:49:18 +0000
(
02:49
+0000)
l2tpns.c
patch
|
blob
|
history
diff --git
a/l2tpns.c
b/l2tpns.c
index
8fd8bf9
..
9f5801f
100644
(file)
--- a/
l2tpns.c
+++ b/
l2tpns.c
@@
-4,7
+4,7
@@
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
// vim: sw=8 ts=8
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
// vim: sw=8 ts=8
-char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.5
5 2004-11-25 02:45:27
bodea Exp $";
+char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.5
6 2004-11-25 02:49:18
bodea Exp $";
#include <arpa/inet.h>
#include <assert.h>
#include <arpa/inet.h>
#include <assert.h>
@@
-2061,7
+2061,7
@@
static int regular_cleanups(void)
u8 b[MAXCONTROL] = {0};
u8 *q = makeppp(b, sizeof(b), 0, 0, session[s].tunnel, s, PPPLCP);
u8 b[MAXCONTROL] = {0};
u8 *q = makeppp(b, sizeof(b), 0, 0, session[s].tunnel, s, PPPLCP);
- if (!q)
return
;
+ if (!q)
continue
;
*q = EchoReq;
*(u8 *)(q + 1) = (time_now % 255); // ID
*q = EchoReq;
*(u8 *)(q + 1) = (time_now % 255); // ID