Re: [PATCHv2 iproute2-next] bond: add ns_ip6_target option
From: Hangbin Liu <hidden>
Date: 2022-02-28 03:43:33
From: Hangbin Liu <hidden>
Date: 2022-02-28 03:43:33
On Sun, Feb 27, 2022 at 06:32:41PM -0700, David Ahern wrote:
On 2/20/22 10:54 PM, Hangbin Liu wrote:quoted
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(-)quoted
+ } else if (matches(*argv, "ns_ip6_target") == 0) {changed matches to strcmp and applied. we are not accepting any more uses of matches.
Oh, my bad. I forgot to change match to strcmp when copy/paste the arp_ip_target code... Hangbin