Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.

fix: Scope default gateway detection to main routing table#276

Merged
gauravkghildiyal merged 1 commit into
google:mainfrom
gauravkghildiyal:fix-default-gw
Nov 10, 2025
Merged

fix: Scope default gateway detection to main routing table#276
gauravkghildiyal merged 1 commit into
google:mainfrom
gauravkghildiyal:fix-default-gw

Conversation

@gauravkghildiyal
Copy link
Copy Markdown
Member

The getDefaultGwInterfaces function previously filtered routes from all routing tables. This caused interfaces to be incorrectly identified as default gateways and excluded from the ResourceSlice if they had a default route in ANY table, even non-main ones.

The `getDefaultGwInterfaces` function previously filtered routes from all
routing tables. This caused interfaces to be incorrectly identified as
default gateways and excluded from the ResourceSlice if they had a
default route in ANY table, even non-main ones.
@gauravkghildiyal gauravkghildiyal merged commit 6ca8049 into google:main Nov 10, 2025
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants