[Olsr-dev] [PATCH v1 1/1] gateway: just replace on init

Ferry Huberts (spam-protected)
Tue Jan 29 15:27:54 CET 2013


From: Ferry Huberts <(spam-protected)>

Otherwise we'll get the error
  olsrd exit: Cannot initialize gateway tunnels

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 src/linux/kernel_tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/linux/kernel_tunnel.c b/src/linux/kernel_tunnel.c
index 983e00d..635cfde 100644
--- a/src/linux/kernel_tunnel.c
+++ b/src/linux/kernel_tunnel.c
@@ -95,7 +95,7 @@ int olsr_os_init_iptunnel(const char * dev) {
     return -1;
   }
 
-  return olsr_os_ifip(if_nametoindex(dev), &olsr_cnf->main_addr, true);
+  return olsr_os_ifip(if_nametoindex(dev), &olsr_cnf->main_addr, false);
 }
 
 void olsr_os_cleanup_iptunnel(const char * dev) {
-- 
1.7.11.7





More information about the Olsr-dev mailing list