summaryrefslogtreecommitdiff
path: root/nhrpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-11 11:20:40 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 08:32:17 -0400
commit2453d15dbf7fff2d897c2182886486732be8ac35 (patch)
tree7a054859acf25689f67d5df7aa9d50b20bca4b62 /nhrpd
parent5f6eaa9b9668f3f09fbf6b1dc4e0645e07f641c9 (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 'nhrpd')
-rw-r--r--nhrpd/nhrp_main.c2
-rw-r--r--nhrpd/nhrpd.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c
index 88bb1f871e..7b5e7a6eac 100644
--- a/nhrpd/nhrp_main.c
+++ b/nhrpd/nhrp_main.c
@@ -28,7 +28,7 @@ DEFINE_MGROUP(NHRPD, "NHRP");
unsigned int debug_flags = 0;
-struct thread_master *master;
+struct event_master *master;
struct timeval current_time;
/* nhrpd options. */
diff --git a/nhrpd/nhrpd.h b/nhrpd/nhrpd.h
index 9428222712..10e8812353 100644
--- a/nhrpd/nhrpd.h
+++ b/nhrpd/nhrpd.h
@@ -19,7 +19,7 @@ DECLARE_MGROUP(NHRPD);
#define NHRP_VTY_PORT 2610
#define NHRP_DEFAULT_CONFIG "nhrpd.conf"
-extern struct thread_master *master;
+extern struct event_master *master;
enum { NHRP_OK = 0,
NHRP_ERR_FAIL,