[Olsr-dev] [PATCH v1 1/1] gateway: just replace on init
Ferry Huberts
(spam-protected)
Tue Jan 29 15:31:08 CET 2013
please forget this patch, I fired it off too quickly.
It's completely incorrect.
On 29/01/13 15:27, Ferry Huberts wrote:
> 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) {
>
--
Ferry Huberts
More information about the Olsr-dev
mailing list