diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2023-11-14 17:20:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 17:20:27 +0100 |
commit | 858cc75b434344ae0b25eccaf6eef03debe4a031 (patch) | |
tree | d9b8b7dde5b135063c3af46c885728446d6c0da5 /zebra/if_netlink.c | |
parent | Merge pull request #14725 from donaldsharp/event_io_smoothing (diff) | |
parent | zebra: Support to listen teamd nlmsg as bond type (diff) | |
download | frr-858cc75b434344ae0b25eccaf6eef03debe4a031.tar.xz frr-858cc75b434344ae0b25eccaf6eef03debe4a031.zip |
Merge pull request #14712 from yenlu-keith/teamd-es-id
zebra: supports to listen teamd nlmsg as bond type
Diffstat (limited to 'zebra/if_netlink.c')
-rw-r--r-- | zebra/if_netlink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/if_netlink.c b/zebra/if_netlink.c index 6dad69396..b41c058c9 100644 --- a/zebra/if_netlink.c +++ b/zebra/if_netlink.c @@ -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; } |