Index: src/link_set.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/link_set.c,v
retrieving revision 1.56
diff -C5 -r1.56 link_set.c
*** src/link_set.c	17 Mar 2005 16:37:27 -0000	1.56
--- src/link_set.c	22 Apr 2005 11:47:22 -0000
***************
*** 270,279 ****
--- 270,282 ----
        // find the interface for the link - we select the link with the
        // best local interface metric
  
        tmp_if = if_ifwithaddr(&walker->local_iface_addr);
  
+       if(!tmp_if)
+ 	continue;
+ 
        // is this interface better than anything we had before?
  
        if ((tmp_if->int_metric < curr_metric) ||
            // use the requested remote interface address as a tie-breaker
            ((tmp_if->int_metric == curr_metric) && 
