diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-05-06 22:02:45 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-05-06 22:02:45 +0200 |
commit | 20e94fb85b7097b57089e3912475ac881fd5528d (patch) | |
tree | 0f85803ddd2d27440bc177887127000963103705 /nest/rt-dev.c | |
parent | 10ab65a8c9eb846655feacd22c29747743a65328 (diff) |
A change in OSPF and RIP interface patterns.
Allows to add more interface patterns to one common 'options'
section like:
interface "eth3", "eth4" { options common to eth3 and eth4 };
Also removes undocumented and unnecessary ability to specify
more interface patterns with different 'options' sections:
interface "eth3" { options ... }, "eth4" { options ... };
Diffstat (limited to 'nest/rt-dev.c')
-rw-r--r-- | nest/rt-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-dev.c b/nest/rt-dev.c index 269346de..348bcc2e 100644 --- a/nest/rt-dev.c +++ b/nest/rt-dev.c @@ -30,7 +30,7 @@ dev_ifa_notify(struct proto *p, unsigned c, struct ifa *ad) struct rt_dev_config *P = (void *) p->cf; if (!EMPTY_LIST(P->iface_list) && - !iface_patt_match(&P->iface_list, ad->iface)) + !iface_patt_find(&P->iface_list, ad->iface)) /* Empty list is automagically treated as "*" */ return; if (c & IF_CHANGE_DOWN) |