]> git.puffer.fish Git - mirror/frr.git/commitdiff
* ospf_apiserver.c: Fix obvious error in notifying clients about ISM
authorhasso <hasso>
Tue, 7 Jun 2005 19:54:04 +0000 (19:54 +0000)
committerhasso <hasso>
Tue, 7 Jun 2005 19:54:04 +0000 (19:54 +0000)
  changes - oi->ifp->status doesn't give to us info about ISM,
  oi->state does.

[backport candidate]

ospfd/ChangeLog
ospfd/ospf_apiserver.c

index 8717e8973d0cb8eaf0b051884c703a9ed0314b43..b45739d985dde6abd501b3977b8276883a8771d0 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-07 Hasso Tepper <hasso at quagga.net>
+
+       * ospf_apiserver.c: Fix obvious error in notifying clients about ISM
+         changes - oi->ifp->status doesn't give to us info about ISM,
+         oi->state does.
+
 2005-06-01  Akihiro Mizutani  <mizutani@net-chef.net>
 
        * ospf_ism.c (ospf_elect_bdr/ospf_elect_dr): Fix DR election bug.
index f9df812c7b9b72af868b8212541882f6c8ebf3f1..b557d01cb17f25d614aa19a27a4703651930dc22 100644 (file)
@@ -2444,7 +2444,7 @@ ospf_apiserver_clients_notify_ism_change (struct ospf_interface *oi)
       area_id = oi->area->area_id;
     }
 
-  msg = new_msg_ism_change (0, ifaddr, area_id, oi->ifp->status);
+  msg = new_msg_ism_change (0, ifaddr, area_id, oi->state);
   if (!msg)
     {
       zlog_warn ("apiserver_clients_notify_ism_change: msg_new failed");