diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-12-11 11:20:40 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 |
| commit | 2453d15dbf7fff2d897c2182886486732be8ac35 (patch) | |
| tree | 7a054859acf25689f67d5df7aa9d50b20bca4b62 /ripngd | |
| parent | 5f6eaa9b9668f3f09fbf6b1dc4e0645e07f641c9 (diff) | |
*: Convert struct thread_master to struct event_master and it's ilk
Convert the `struct thread_master` to `struct event_master`
across the code base.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ripngd')
| -rw-r--r-- | ripngd/ripng_main.c | 2 | ||||
| -rw-r--r-- | ripngd/ripng_zebra.c | 2 | ||||
| -rw-r--r-- | ripngd/ripngd.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c index dcdd0c1f78..18a18b214b 100644 --- a/ripngd/ripng_main.c +++ b/ripngd/ripng_main.c @@ -48,7 +48,7 @@ struct zebra_privs_t ripngd_privs = { /* Master of threads. */ -struct thread_master *master; +struct event_master *master; static struct frr_daemon_info ripngd_di; diff --git a/ripngd/ripng_zebra.c b/ripngd/ripng_zebra.c index b126a15b5b..9bb3826d7e 100644 --- a/ripngd/ripng_zebra.c +++ b/ripngd/ripng_zebra.c @@ -228,7 +228,7 @@ static zclient_handler *const ripng_handlers[] = { }; /* Initialize zebra structure and it's commands. */ -void zebra_init(struct thread_master *master) +void zebra_init(struct event_master *master) { /* Allocate zebra structure. */ zclient = zclient_new(master, &zclient_options_default, ripng_handlers, diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h index a80517b436..a94711013b 100644 --- a/ripngd/ripngd.h +++ b/ripngd/ripngd.h @@ -316,7 +316,7 @@ struct ripng_offset_list { /* Extern variables. */ extern struct zebra_privs_t ripngd_privs; -extern struct thread_master *master; +extern struct event_master *master; extern struct ripng_instance_head ripng_instances; /* Prototypes. */ @@ -338,7 +338,7 @@ extern void ripng_zebra_vrf_register(struct vrf *vrf); extern void ripng_zebra_vrf_deregister(struct vrf *vrf); extern void ripng_terminate(void); /* zclient_init() is done by ripng_zebra.c:zebra_init() */ -extern void zebra_init(struct thread_master *); +extern void zebra_init(struct event_master *master); extern void ripng_zebra_stop(void); extern void ripng_redistribute_conf_update(struct ripng *ripng, int type); extern void ripng_redistribute_conf_delete(struct ripng *ripng, int type); |
