mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 06:03:10 +00:00
Merge pull request #14712 from yenlu-keith/teamd-es-id
zebra: supports to listen teamd nlmsg as bond type
This commit is contained in:
commit
858cc75b43
@ -217,6 +217,8 @@ static void netlink_determine_zebra_iftype(const char *kind,
|
|||||||
*zif_type = ZEBRA_IF_VETH;
|
*zif_type = ZEBRA_IF_VETH;
|
||||||
else if (strcmp(kind, "bond") == 0)
|
else if (strcmp(kind, "bond") == 0)
|
||||||
*zif_type = ZEBRA_IF_BOND;
|
*zif_type = ZEBRA_IF_BOND;
|
||||||
|
else if (strcmp(kind, "team") == 0)
|
||||||
|
*zif_type = ZEBRA_IF_BOND;
|
||||||
else if (strcmp(kind, "gre") == 0)
|
else if (strcmp(kind, "gre") == 0)
|
||||||
*zif_type = ZEBRA_IF_GRE;
|
*zif_type = ZEBRA_IF_GRE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user