route-health.sh: add default route management based on gateway health
When a group has set-default in options, route-health.sh now reads
gateways in priority order and picks the first healthy one as default.
Also refactored health checking into get_health() helper and added
rt_tables lookup fallback for table resolution.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment