-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cilium-cni: Use actual address and enabled flag to activate address f…
…amily Fixes a bug when IPv4 is disabled but route configuration is still attempted because part of the CNI code used the availability of an IPv4 host address to enable IPv4 instead of always relying on the return of the IPAM API. This patches changes it to check both the IPAM reply for the endpoint having received an IPv4 address and IPv4 actually being enabled as well. Signed-off-by: Thomas Graf <thomas@cilium.io>
- Loading branch information
Showing
1 changed file
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters