Ticket #64: 0001-Fix-problem-with-special-case-route-targets-remote_h.patch

File 0001-Fix-problem-with-special-case-route-targets-remote_h.patch, 670 bytes (added by Gert Döring, 14 years ago)

proposed patch

  • route.c

    From c23a8a15566851fd88f5712dfe5ae881bba2b240 Mon Sep 17 00:00:00 2001
    From: Gert Doering <gert@greenie.muc.de>
    Date: Wed, 20 Oct 2010 21:27:14 +0200
    Subject: [PATCH] Fix problem with special case route targets ('remote_host')
    
    Signed-off-by: Gert Doering <gert@greenie.muc.de>
    ---
     route.c |    2 ++
     1 files changed, 2 insertions(+), 0 deletions(-)
    
    diff --git a/route.c b/route.c
    index 5d8f8d6..d50821e 100644
    a b init_route_list (struct route_list *rl, 
    450450        struct route r;
    451451        int k;
    452452
     453        netlist.len = 0;                /* won't be set for special routes */
     454
    453455        if (!init_route (&r,
    454456                         &netlist,
    455457                         &opt->routes[i],