summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_top.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2022-01-23 14:08:46 +0100
committerIgor Ryzhov <iryzhov@nfware.com>2022-01-24 20:18:46 +0100
commit870791a3b57996c5fe0352adcc081d23778bfff0 (patch)
treee193c88a051e2abe6a29dd62a7754049f9a69d68 /ospf6d/ospf6_top.c
parentMerge pull request #10374 from opensourcerouting/bgp-reset-counters (diff)
downloadfrr-870791a3b57996c5fe0352adcc081d23778bfff0.tar.xz
frr-870791a3b57996c5fe0352adcc081d23778bfff0.zip
*: do not send opaque data to zebra by default
Opaque data takes up a lot of memory when there are a lot of routes on the box. Given that this is just a cosmetic info, I propose to disable it by default to not shock people who start using FRR for the first time or upgrades from an old version. Fixes #10101. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'ospf6d/ospf6_top.c')
-rw-r--r--ospf6d/ospf6_top.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c
index e2db77d44..2e9e32f2e 100644
--- a/ospf6d/ospf6_top.c
+++ b/ospf6d/ospf6_top.c
@@ -436,7 +436,6 @@ static struct ospf6 *ospf6_create(const char *name)
o->fd = -1;
o->max_multipath = MULTIPATH_NUM;
- SET_FLAG(o->config_flags, OSPF6_SEND_EXTRA_DATA_TO_ZEBRA);
o->oi_write_q = list_new();
@@ -2236,9 +2235,9 @@ static int config_write_ospf6(struct vty *vty)
vty_out(vty, " ospf6 router-id %pI4\n",
&ospf6->router_id_static);
- if (!CHECK_FLAG(ospf6->config_flags,
- OSPF6_SEND_EXTRA_DATA_TO_ZEBRA))
- vty_out(vty, " no ospf6 send-extra-data zebra\n");
+ if (CHECK_FLAG(ospf6->config_flags,
+ OSPF6_SEND_EXTRA_DATA_TO_ZEBRA))
+ vty_out(vty, " ospf6 send-extra-data zebra\n");
/* log-adjacency-changes flag print. */
if (CHECK_FLAG(ospf6->config_flags,