mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-09 11:14:30 +00:00
fix(android): update vpn routes when proxy cidrs change (#1717)
This commit is contained in:
@@ -414,6 +414,16 @@ fn handle_event(
|
||||
GlobalCtxEvent::ConfigPatched(patch) => {
|
||||
print_event(instance_id, format!("config patched. patch: {:?}", patch));
|
||||
}
|
||||
|
||||
GlobalCtxEvent::ProxyCidrsUpdated(added, removed) => {
|
||||
print_event(
|
||||
instance_id,
|
||||
format!(
|
||||
"proxy CIDRs updated. added: {:?}, removed: {:?}",
|
||||
added, removed
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
events = events.resubscribe();
|
||||
|
||||
Reference in New Issue
Block a user