Babel: Interface address irrelevant for interface pattern matching.

This commit is contained in:
Jan Maria Matejka 2017-08-22 13:47:01 +02:00 committed by Ondrej Zajicek (work)
parent 289c1a7968
commit 4ae3ee1200

View file

@ -1570,7 +1570,7 @@ babel_if_notify(struct proto *P, unsigned flags, struct iface *iface)
if (flags & IF_CHANGE_UP)
{
struct babel_iface_config *ic = (void *) iface_patt_find(&cf->iface_list, iface, iface->addr);
struct babel_iface_config *ic = (void *) iface_patt_find(&cf->iface_list, iface, NULL);
/* we only speak multicast */
if (!(iface->flags & IF_MULTICAST))