* 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.
[backport candidate]
diff --git a/ospfd/ospf_apiserver.c b/ospfd/ospf_apiserver.c
index f9df812..b557d01 100644
--- a/ospfd/ospf_apiserver.c
+++ b/ospfd/ospf_apiserver.c
@@ -2444,7 +2444,7 @@
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");