summaryrefslogtreecommitdiffstats
path: root/pimd/pim_msdp_socket.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-20 16:34:04 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 18:21:00 +0100
commit36417fcc20b4a21b26a4e63902caca2eecbad4ed (patch)
treeda63cbef60f00c6ae2d61ad084ea3cab62d00f5f /pimd/pim_msdp_socket.c
parentzebra: Add test and show commands for mlag (diff)
downloadfrr-36417fcc20b4a21b26a4e63902caca2eecbad4ed.tar.xz
frr-36417fcc20b4a21b26a4e63902caca2eecbad4ed.zip
pimd: Create a `struct pim_router` and move thread master into it
Create a `struct pim_router` and move the thread master into it. Future commits will further move global varaibles into the pim_router structure. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_msdp_socket.c')
-rw-r--r--pimd/pim_msdp_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_msdp_socket.c b/pimd/pim_msdp_socket.c
index 7997d3138..b1f7cfd2c 100644
--- a/pimd/pim_msdp_socket.c
+++ b/pimd/pim_msdp_socket.c
@@ -79,7 +79,7 @@ static int pim_msdp_sock_accept(struct thread *thread)
return -1;
}
pim->msdp.listener.thread = NULL;
- thread_add_read(master, pim_msdp_sock_accept, pim, accept_sock,
+ thread_add_read(router->master, pim_msdp_sock_accept, pim, accept_sock,
&pim->msdp.listener.thread);
/* accept client connection. */