add GlobalCtxEvent::PeerInfoUpdated, issue this event in do_sync_route_info

fix use in peer_ospf_route.rs
This commit is contained in:
Luna Yao
2026-02-22 03:11:14 +01:00
parent 088628c1b6
commit f75c35d4a0
3 changed files with 18 additions and 17 deletions
+2
View File
@@ -47,6 +47,8 @@ pub enum GlobalCtxEvent {
PeerConnAdded(PeerConnInfo),
PeerConnRemoved(PeerConnInfo),
PeerInfoUpdated(Vec<PeerId>),
ListenerAdded(url::Url),
ListenerAddFailed(url::Url, String), // (url, error message)
ListenerAcceptFailed(url::Url, String), // (url, error message)