Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

this way of compare cause wrong interface name been matched #61

Open
yintao1995 opened this issue Jun 10, 2021 · 0 comments
Open

this way of compare cause wrong interface name been matched #61

yintao1995 opened this issue Jun 10, 2021 · 0 comments

Comments

@yintao1995
Copy link

for example,if the first port in iteration is "Ethernet42", but searching target is “Ethernet4”, then match will be met.

which cause:
i use command "teamdctl PortChannel01 state item get ports.Ethernet4.ifinfo.ifname"
but i got is:
"Ethernet42"

teamd_for_each_tdport(cur_tdport, ctx) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant