Yet another nasty bugfix of iface_patts_equal().
This commit is contained in:
parent
0639f7263a
commit
a5096a1bde
1 changed files with 3 additions and 1 deletions
|
@ -578,7 +578,9 @@ iface_patts_equal(list *a, list *b, int (*comp)(struct iface_patt *, struct ifac
|
||||||
y = HEAD(*b);
|
y = HEAD(*b);
|
||||||
while (x->n.next && y->n.next)
|
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)) ||
|
strcmp(x->pattern, y->pattern)) ||
|
||||||
!ipa_equal(x->prefix, y->prefix) ||
|
!ipa_equal(x->prefix, y->prefix) ||
|
||||||
x->pxlen != y->pxlen ||
|
x->pxlen != y->pxlen ||
|
||||||
|
|
Loading…
Reference in a new issue