Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

add check to fix duplicate IPv6 routes#281

Closed
aman0408 wants to merge 1 commit intogoogle:mainfrom
aman0408:fix-duplicate-ipv6-routes
Closed

add check to fix duplicate IPv6 routes#281
aman0408 wants to merge 1 commit intogoogle:mainfrom
aman0408:fix-duplicate-ipv6-routes

Conversation

@aman0408
Copy link
Collaborator

Fixes #274

r.Src = net.ParseIP(route.Source)
}

// List existing routes to check for duplicates.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when is the case a namespace has already a duplicate route?

in addition, the netlink library also handles this, as you can see it has ip route add and ip route replace

@aman0408 aman0408 closed this by deleting the head repository Dec 15, 2025
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.

Duplicate IPv6 routes found for interfaces using IPv6

2 participants