Skip to content

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

Open

Description

@yintao1995

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) {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions