summaryrefslogtreecommitdiffstats
path: root/eigrpd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2023-11-23 15:01:54 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2023-11-23 15:01:54 +0100
commit7f7564bbb24aa28dd59a3983bb21f730162312cb (patch)
tree68f150066711a1a16c77cba2de9e1c6185270348 /eigrpd
parentstaticd: replace `receive_notify` with request (diff)
downloadfrr-7f7564bbb24aa28dd59a3983bb21f730162312cb.tar.xz
frr-7f7564bbb24aa28dd59a3983bb21f730162312cb.zip
eigrpd: use default zclient options
`.receive_notify = false` is the default. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'eigrpd')
-rw-r--r--eigrpd/eigrp_zebra.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/eigrpd/eigrp_zebra.c b/eigrpd/eigrp_zebra.c
index a5cecb9c1..a0eff683d 100644
--- a/eigrpd/eigrp_zebra.c
+++ b/eigrpd/eigrp_zebra.c
@@ -98,9 +98,7 @@ static zclient_handler *const eigrp_handlers[] = {
void eigrp_zebra_init(void)
{
- struct zclient_options opt = {.receive_notify = false};
-
- zclient = zclient_new(master, &opt, eigrp_handlers,
+ zclient = zclient_new(master, &zclient_options_default, eigrp_handlers,
array_size(eigrp_handlers));
zclient_init(zclient, ZEBRA_ROUTE_EIGRP, 0, &eigrpd_privs);