]> git.proxmox.com Git - mirror_frr.git/blobdiff - ripngd/ripng_peer.c
zebra: Allow ns delete to happen after under/over flow checks
[mirror_frr.git] / ripngd / ripng_peer.c
index 2f75898482fe059744a519d752d44ef00610c194..6b2a18353924921b6548a9ca877d567f1ef0c65e 100644 (file)
@@ -180,7 +180,7 @@ void ripng_peer_display(struct vty *vty)
 
 static int ripng_peer_list_cmp(struct ripng_peer *p1, struct ripng_peer *p2)
 {
-       return addr6_cmp(&p1->addr, &p2->addr) > 0;
+       return memcmp(&p1->addr, &p2->addr, sizeof(struct in6_addr));
 }
 
 void ripng_peer_init()