some minor fix (#113)

1. fix ospf route panic if no ipv4 assigned.
2. should refetch global peer latency map every 60s
3. remove regex dep because it's too large and unnecessary.
This commit is contained in:
Sijie.Sun
2024-05-15 09:21:20 +08:00
committed by GitHub
parent 4e9b07f83b
commit d5bf041834
7 changed files with 26 additions and 9 deletions

View File

@@ -60,6 +60,8 @@ bitflags::bitflags! {
struct PeerManagerHeaderFlags: u8 {
const ENCRYPTED = 0b0000_0001;
const LATENCY_FIRST = 0b0000_0010;
const _ = !0;
}
}