mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Yet another nasty bugfix of iface_patts_equal().
This commit is contained in:
parent
0639f7263a
commit
a5096a1bde
@ -578,7 +578,9 @@ iface_patts_equal(list *a, list *b, int (*comp)(struct iface_patt *, struct ifac
|
||||
y = HEAD(*b);
|
||||
while (x->n.next && y->n.next)
|
||||
{
|
||||
if ((!(x->pattern==NULL)&&(x->pattern==NULL) &&
|
||||
if ((!x->pattern && y->pattern) || /* This nasty lines where written by me... :-( Feela */
|
||||
(!y->pattern && x->pattern) ||
|
||||
(!(x->pattern==y->pattern) &&
|
||||
strcmp(x->pattern, y->pattern)) ||
|
||||
!ipa_equal(x->prefix, y->prefix) ||
|
||||
x->pxlen != y->pxlen ||
|
||||
|
Loading…
Reference in New Issue
Block a user