summaryrefslogtreecommitdiffstats
path: root/ospfd/ospfd.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 /ospfd/ospfd.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 'ospfd/ospfd.c')
-rw-r--r--ospfd/ospfd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index 726ce329e..e5f3eec60 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -406,8 +406,6 @@ struct ospf *ospf_new_alloc(unsigned short instance, const char *name)
ospf_opaque_type11_lsa_init(new);
- SET_FLAG(new->config, OSPF_SEND_EXTRA_DATA_TO_ZEBRA);
-
QOBJ_REG(new, ospf);
new->fd = -1;