summaryrefslogtreecommitdiff
path: root/nest/rt-dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/rt-dev.c')
-rw-r--r--nest/rt-dev.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nest/rt-dev.c b/nest/rt-dev.c
index 63548fc7..c07b5de6 100644
--- a/nest/rt-dev.c
+++ b/nest/rt-dev.c
@@ -23,7 +23,9 @@ dev_ifa_notify(struct proto *p, unsigned c, struct ifa *ad)
{
struct rt_dev_config *P = (void *) p->cf;
- if (!iface_patt_match(&P->iface_list, ad->iface))
+ if (!EMPTY_LIST(P->iface_list) &&
+ !iface_patt_match(&P->iface_list, ad->iface))
+ /* Empty list is automagically treated as "*" */
return;
if (c & IF_CHANGE_DOWN)
{