Merge pull request #14712 from yenlu-keith/teamd-es-id

zebra: supports to listen teamd nlmsg as bond type
This commit is contained in:
Donald Sharp 2023-11-14 11:20:27 -05:00 committed by GitHub
commit 858cc75b43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,6 +217,8 @@ static void netlink_determine_zebra_iftype(const char *kind,
*zif_type = ZEBRA_IF_VETH;
else if (strcmp(kind, "bond") == 0)
*zif_type = ZEBRA_IF_BOND;
else if (strcmp(kind, "team") == 0)
*zif_type = ZEBRA_IF_BOND;
else if (strcmp(kind, "gre") == 0)
*zif_type = ZEBRA_IF_GRE;
}