projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix CTUNNEL decompress error message
[l2tpns.git]
/
cluster.c
diff --git
a/cluster.c
b/cluster.c
index
f601f70
..
ca0b748
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.4
6 2005/09/02 23:59:56
bodea Exp $";
+char const *cvs_id_cluster = "$Id: cluster.c,v 1.4
8 2005/12/05 12:47:12
bodea Exp $";
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
@@
-1268,7
+1268,7
@@
static uint8_t *convert_session(struct oldsession *old)
new.next = old->next;
new.far = old->far;
new.tunnel = old->tunnel;
new.next = old->next;
new.far = old->far;
new.tunnel = old->tunnel;
- new.
l2tp_
flags = old->l2tp_flags;
+ new.flags = old->l2tp_flags;
new.ip = old->ip;
new.ip_pool_index = old->ip_pool_index;
new.unique_id = old->unique_id;
new.ip = old->ip;
new.ip_pool_index = old->ip_pool_index;
new.unique_id = old->unique_id;
@@
-1553,7
+1553,7
@@
static int cluster_process_heartbeat(uint8_t *data, int size, int more, uint8_t
s -= (p - orig_p);
if (size != sizeof(tunnelt) ) { // Ouch! Very very bad!
s -= (p - orig_p);
if (size != sizeof(tunnelt) ) { // Ouch! Very very bad!
- LOG(0, 0, 0, "DANGER: Received a C
SESSION
that didn't decompress correctly!\n");
+ LOG(0, 0, 0, "DANGER: Received a C
TUNNEL
that didn't decompress correctly!\n");
// Now what? Should exit! No-longer up to date!
break;
}
// Now what? Should exit! No-longer up to date!
break;
}