projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b72b5f8
)
foo
author
David Parrish
<david@dparrish.com>
Tue, 21 Sep 2004 04:30:46 +0000
(
04:30
+0000)
committer
David Parrish
<david@dparrish.com>
Tue, 21 Sep 2004 04:30:46 +0000
(
04:30
+0000)
cluster.c
patch
|
blob
|
history
diff --git
a/cluster.c
b/cluster.c
index
f248ff0
..
df7d9ab
100644
(file)
--- a/
cluster.c
+++ b/
cluster.c
@@
-1,6
+1,6
@@
// L2TPNS Clustering Stuff
// L2TPNS Clustering Stuff
-char const *cvs_id_cluster = "$Id: cluster.c,v 1.1
1 2004-09-02 04:18:07
fred_nerk Exp $";
+char const *cvs_id_cluster = "$Id: cluster.c,v 1.1
2 2004-09-21 04:30:46
fred_nerk Exp $";
#include <stdio.h>
#include <sys/file.h>
#include <stdio.h>
#include <sys/file.h>
@@
-256,12
+256,12
@@
int peer_send_message(u32 peer, int type, int more, char * data, int size)
// Forward a state changing packet to the master.
//
// The master just processes the payload as if it had
// Forward a state changing packet to the master.
//
// The master just processes the payload as if it had
-// received it off the t
ap
device.
+// received it off the t
un
device.
//
//
-int master_forward_packet(char *
data, int size, u32 addr, int port)
+int master_forward_packet(char *data, int size, u32 addr, int port)
{
char buf[65536]; // Vast overkill.
{
char buf[65536]; // Vast overkill.
- char *
p = buf;
+ char *p = buf;
if (!config->cluster_master_address) // No election has been held yet. Just skip it.
return -1;
if (!config->cluster_master_address) // No election has been held yet. Just skip it.
return -1;