Revision fe9f1a6d proto/radv/radv.c

View differences:

proto/radv/radv.c
258 258

  
259 259
static inline int radv_net_match_trigger(struct radv_config *cf, net *n)
260 260
{
261
  return cf->trigger_valid &&
262
    (n->n.pxlen == cf->trigger_pxlen) &&
263
    ipa_equal(n->n.prefix, cf->trigger_prefix);
261
  return cf->trigger_valid && net_equal(n->n.addr, cf->trigger);
264 262
}
265 263

  
266 264
int
......
306 304
  if (! cf->trigger_valid)
307 305
    return 1;
308 306

  
309
  return rt_examine(ra->p.table, cf->trigger_prefix, cf->trigger_pxlen,
310
		    &(ra->p), ra->p.cf->out_filter);
307
  return rt_examine(ra->p.table, cf->trigger, &ra->p, ra->p.cf->out_filter);
311 308
}
312 309

  
313 310
static struct proto *

Also available in: Unified diff