b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] Send TUNNEL_IP_REQUEST as response of TUNNEL_IP_REQUEST
@ 2008-09-24 21:59 Sven Eckelmann
  2008-09-25  9:12 ` Stephan Enderlein (Freifunk Dresden)
  0 siblings, 1 reply; 9+ messages in thread
From: Sven Eckelmann @ 2008-09-24 21:59 UTC (permalink / raw)
  To: b.a.t.m.a.n

Userspace gateway sends TUNNEL_IP_REQUEST when he receives TUNNEL_IP_REQUEST
and will not start to send new IP as TUNNEL_DATA
---
 batman/linux/modules/gateway.c   |    1 -
 batman/linux/modules/gateway24.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/batman/linux/modules/gateway.c b/batman/linux/modules/gateway.c
index 154497e..9411575 100644
--- a/batman/linux/modules/gateway.c
+++ b/batman/linux/modules/gateway.c
@@ -405,7 +405,6 @@ static int packet_recv_thread(void *data)
 
 				if(client_data != NULL) {
 
-					buffer[0] = TUNNEL_DATA;
 					memcpy( &buffer[1], &client_data->vip_addr, sizeof( client_data->vip_addr ) );
 
 					iov.iov_base = buffer;
diff --git a/batman/linux/modules/gateway24.c b/batman/linux/modules/gateway24.c
index 585fe85..9b60fe4 100644
--- a/batman/linux/modules/gateway24.c
+++ b/batman/linux/modules/gateway24.c
@@ -385,7 +385,6 @@ static int packet_recv_thread(void *data)
 
 				if(client_data != NULL) {
 
-					buffer[0] = TUNNEL_DATA;
 					memcpy( &buffer[1], &client_data->vip_addr, sizeof( client_data->vip_addr ) );
 
 					iov.iov_base = buffer;
-- 
1.6.0.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-09-26 15:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-24 21:59 [B.A.T.M.A.N.] [PATCH] Send TUNNEL_IP_REQUEST as response of TUNNEL_IP_REQUEST Sven Eckelmann
2008-09-25  9:12 ` Stephan Enderlein (Freifunk Dresden)
2008-09-25  9:33   ` Sven Eckelmann
2008-09-26 11:19     ` Stephan Enderlein (Freifunk Dresden)
2008-09-26 11:39       ` Sven Eckelmann
2008-09-26 12:19         ` [B.A.T.M.A.N.] My patches don't reference you mails Sven Eckelmann
2008-09-26 12:56           ` Stephan Enderlein (Freifunk Dresden)
2008-09-26 13:06             ` Sven Eckelmann
2008-09-26 15:49               ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).