We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e37443a + 50f97a9 commit b676d8aCopy full SHA for b676d8a
wsdd2.c
@@ -520,7 +520,7 @@ static bool is_new_addr(struct nlmsghdr *nh)
520
521
if (ifindex && ifam->ifa_index != ifindex) {
522
char buf[IFNAMSIZ];
523
- if (!if_indextoname(ifindex, buf) || strcmp(buf, ifname) != 0)
+ if (!if_indextoname(ifam->ifa_index, buf) || strcmp(buf, ifname) != 0)
524
return false;
525
ifindex = ifam->ifa_index;
526
}
0 commit comments