Commit a5096a1b authored by Ondřej Filip's avatar Ondřej Filip

Yet another nasty bugfix of iface_patts_equal().

parent 0639f726
......@@ -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 ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment