diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2023-11-23 15:01:54 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2023-11-23 15:01:54 +0100 |
commit | 7f7564bbb24aa28dd59a3983bb21f730162312cb (patch) | |
tree | 68f150066711a1a16c77cba2de9e1c6185270348 /eigrpd | |
parent | staticd: replace `receive_notify` with request (diff) | |
download | frr-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.c | 4 |
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); |