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 committed 2026-04-06 11:54:02 +02:00
1 parent 088628c1b6
commit f75c35d4a0
3 files changed
+18 -17

No files matched your search

+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)