summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-02-04 15:18:48 +0100
committerMaria Matejka <mq@ucw.cz>2022-02-04 15:18:48 +0100
commit28a43d53e7189524ad6312d04a5d12c90f27212d (patch)
treeeca9fda0366e7553085b636c001a278164a65694 /nest
parentd62a3d0274b9c1ccfbbc4302bb2ca56159696f8b (diff)
parent00410fd6c17697a5919cb32a44f7117dd3a0834a (diff)
Merge commit '00410fd6c17697a5919cb32a44f7117dd3a0834a' into sark-bgp-rebased
Diffstat (limited to 'nest')
-rw-r--r--nest/iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/iface.c b/nest/iface.c
index 4c017f50..78f4eb0f 100644
--- a/nest/iface.c
+++ b/nest/iface.c
@@ -640,7 +640,7 @@ ifa_update(struct ifa *a)
if (ipa_equal(b->brd, a->brd) &&
ipa_equal(b->opposite, a->opposite) &&
b->scope == a->scope &&
- !((b->flags ^ a->flags) & IA_PEER))
+ !((b->flags ^ a->flags) & (IA_SECONDARY | IA_PEER | IA_HOST)))
{
b->flags |= IA_UPDATED;
return b;