Re: [PATCHv2 iproute2-next] bond: add ns_ip6_target option
From: David Ahern <dsahern@kernel.org>
Date: 2022-02-28 01:32:48
From: David Ahern <dsahern@kernel.org>
Date: 2022-02-28 01:32:48
On 2/20/22 10:54 PM, Hangbin Liu wrote:
Similar with arp_ip_target, this option add bond IPv6 NS/NA monitor support. When IPv6 target was set, the ARP target will be disabled. Signed-off-by: Hangbin Liu <redacted> --- v2: define BOND_MAX_NS_TARGETS --- ip/iplink_bond.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-)
+ } else if (matches(*argv, "ns_ip6_target") == 0) {changed matches to strcmp and applied. we are not accepting any more uses of matches.