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


Reply via email to