Commit fd087589 authored by Ondrej Zajicek's avatar Ondrej Zajicek
Browse files

Fixes broken vlinks in OSPF.

parent 0f808c06
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ ospf_stubnet_item:

ospf_vlink:
   ospf_vlink_start '{' ospf_vlink_opts '}' { ospf_iface_finish(); }
 | ospf_vlink_start
 | ospf_vlink_start { ospf_iface_finish(); }
 ;

ospf_vlink_opts:
+3 −0
Original line number Diff line number Diff line
@@ -570,6 +570,9 @@ ospf_iface_new(struct ospf_area *oa, struct ifa *addr, struct ospf_iface_patt *i
  {
    ifa->voa = ospf_find_area(oa->po, ip->voa);
    ifa->vid = ip->vid;

    ifa->hello_timer = tm_new_set(ifa->pool, hello_timer_hook, ifa, 0, ifa->helloint);

    return;			/* Don't lock, don't add sockets */
  }