diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-07 13:06:01 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-07 13:06:01 +0100 |
commit | 153f02da3bce1f3f1a99295648679c71327e8319 (patch) | |
tree | b7b7acf8026ba182f3a81f2d6da975b0b1524972 /nest/rt-dev.c | |
parent | 4ae3ee1200b386219673c2168eae996c6207b077 (diff) |
Nest: Maintain separate IPv4, IPv6 and LLv6 preferred addresses
Also redesign preferred address selection and update protocols to use
appropriate preferred address.
Based on a previous work by Jan Maria Matejka.
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 9993da24..b3d5bf97 100644 --- a/nest/rt-dev.c +++ b/nest/rt-dev.c @@ -33,7 +33,7 @@ dev_ifa_notify(struct proto *P, uint flags, struct ifa *ad) struct channel *c; if (!EMPTY_LIST(cf->iface_list) && - !iface_patt_find(&cf->iface_list, ad->iface, ad->iface->addr)) + !iface_patt_find(&cf->iface_list, ad->iface, ad)) /* Empty list is automatically treated as "*" */ return; |