projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b2fdec2
)
Fix logging parameter errors
author
fred_nerk
<fred_nerk>
Mon, 24 May 2004 04:12:48 +0000
(
04:12
+0000)
committer
fred_nerk
<fred_nerk>
Mon, 24 May 2004 04:12:48 +0000
(
04:12
+0000)
cluster_slave.c
patch
|
blob
|
history
diff --git
a/cluster_slave.c
b/cluster_slave.c
index
4bbb8ef
..
d1f316d
100644
(file)
--- a/
cluster_slave.c
+++ b/
cluster_slave.c
@@
-1,5
+1,5
@@
// L2TPNS Cluster Master
// L2TPNS Cluster Master
-// $Id: cluster_slave.c,v 1.
3 2004/03/05 00:22:06
fred_nerk Exp $
+// $Id: cluster_slave.c,v 1.
4 2004/05/24 04:12:48
fred_nerk Exp $
#include <stdio.h>
#include <netinet/in.h>
#include <stdio.h>
#include <netinet/in.h>
@@
-78,7
+78,7
@@
int handle_tunnel(char *buf, int l)
// Ignore tunnel message if NOSTATEFILE exists
if (config->ignore_cluster_updates)
{
// Ignore tunnel message if NOSTATEFILE exists
if (config->ignore_cluster_updates)
{
- log(1, 0, 0, 0, "Discarding tunnel message from cluster master.\n"
, l, sizeof(tunnelt)
);
+ log(1, 0, 0, 0, "Discarding tunnel message from cluster master.\n");
return 0;
}
return 0;
}
@@
-114,7
+114,7
@@
int handle_session(char *buf, int l)
// Ignore tunnel message if NOSTATEFILE exists
if (config->ignore_cluster_updates)
{
// Ignore tunnel message if NOSTATEFILE exists
if (config->ignore_cluster_updates)
{
- log(1, 0, 0, 0, "Discarding session message from cluster master.\n"
, l, sizeof(tunnelt)
);
+ log(1, 0, 0, 0, "Discarding session message from cluster master.\n");
return 0;
}
return 0;
}