forked from kata-containers/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network: Handle default route where gateway is empty
In case of ipvlan plugin, the default route has an empty gateway. Set this to default gateway value before adding this route with netlink. Fixes kata-containers#403 Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
- Loading branch information
Showing
1 changed file
with
20 additions
and
1 deletion.
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