Make ospf route more effiencient (#1512)

Avoid iterate all peer info and conn list when building sync request.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
KKRainbow
2025-12-08 13:14:47 +08:00
committed by GitHub
parent 056c9da781
commit 838b6101b9
5 changed files with 444 additions and 233 deletions

View File

@@ -143,6 +143,7 @@ network-interface = "2.0"
# for ospf route
petgraph = "0.8.1"
hashbrown = "0.15.3"
ordered_hash_map = "0.5.0"
# for wireguard
boringtun = { package = "boringtun-easytier", version = "0.6.1", optional = true }