summaryrefslogtreecommitdiffstats
path: root/babeld
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-07-11 19:26:06 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-07-11 19:36:25 +0200
commitd5260dc1231922c713555ab4bc77c0b4d0e8d8e6 (patch)
tree47dbc90777653f11601c533bac512884c069ff2d /babeld
parentMerge pull request #11579 from opensourcerouting/fix/revert_isis_fast_reroute (diff)
downloadfrr-d5260dc1231922c713555ab4bc77c0b4d0e8d8e6.tar.xz
frr-d5260dc1231922c713555ab4bc77c0b4d0e8d8e6.zip
babeld: Install route to RIB if parse_update_subtlv() is false
We installed the route only if the type was SUBTLV_MANDATORY. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'babeld')
-rw-r--r--babeld/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/message.c b/babeld/message.c
index c2ea2a268..7d45d91bf 100644
--- a/babeld/message.c
+++ b/babeld/message.c
@@ -636,7 +636,7 @@ parse_packet(const unsigned char *from, struct interface *ifp,
len - parsed_len, channels);
}
- if (ignore_update)
+ if (!ignore_update)
update_route(router_id, prefix, plen, seqno, metric,
interval, neigh, nh, channels,
channels_len(channels));