projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4d40309
)
don't trample n
author
bodea
<bodea>
Mon, 13 Dec 2004 05:09:35 +0000
(
05:09
+0000)
committer
bodea
<bodea>
Mon, 13 Dec 2004 05:09:35 +0000
(
05:09
+0000)
l2tpns.c
patch
|
blob
|
history
diff --git
a/l2tpns.c
b/l2tpns.c
index
cf66730
..
b14a276
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.6
5 2004/12/13 02:27:31
bodea Exp $";
+char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.6
6 2004/12/13 05:09:35
bodea Exp $";
#include <arpa/inet.h>
#include <assert.h>
#include <arpa/inet.h>
#include <assert.h>
@@
-2431,9
+2431,9
@@
static void mainloop(void)
// incoming IP
if (FD_ISSET(tunfd, &r))
{
// incoming IP
if (FD_ISSET(tunfd, &r))
{
- if ((
n
= read(tunfd, buf, sizeof(buf))) > 0)
+ if ((
s
= read(tunfd, buf, sizeof(buf))) > 0)
{
{
- processtun(buf,
n
);
+ processtun(buf,
s
);
}
else
{
}
else
{