Skip to content

Commit

Permalink
Merge pull request FRRouting#14712 from yenlu-keith/teamd-es-id
Browse files Browse the repository at this point in the history
zebra: supports to listen teamd nlmsg as bond type
  • Loading branch information
donaldsharp authored Nov 14, 2023
2 parents 44df167 + 60c35a8 commit 858cc75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zebra/if_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 858cc75

Please sign in to comment.