Skip to content

Commit

Permalink
Merge pull request #13854 from chiragshah6/fdev2
Browse files Browse the repository at this point in the history
zebra: fix evpn rmac nh list cmp function
  • Loading branch information
riw777 authored Jun 27, 2023
2 parents d8f0a8e + a7d77ee commit d96501a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra/zebra_vxlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ static int l3vni_rmac_nh_list_cmp(void *p1, void *p2)
const struct ipaddr *vtep_ip1 = p1;
const struct ipaddr *vtep_ip2 = p2;

return !ipaddr_cmp(vtep_ip1, vtep_ip2);
return ipaddr_cmp(vtep_ip1, vtep_ip2);
}

static void l3vni_rmac_nh_free(struct ipaddr *vtep_ip)
Expand Down

0 comments on commit d96501a

Please sign in to comment.