summaryrefslogtreecommitdiff
path: root/ldpd/interface.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-10-04 19:25:18 +0300
committerDonatas Abraitis <donatas.abraitis@gmail.com>2021-10-04 19:25:18 +0300
commitdc4a902689e46717e2f7c34d3546e7b5b78cb3d1 (patch)
treeded05cd7901bcf6ef934decfa27fab4884b79002 /ldpd/interface.c
parentc34d552dd5fe8a6821ec5efee2eb463fe3108424 (diff)
ldpd: Do not explicitly set the thread pointer to NULL
FRR should only ever use the appropriate THREAD_ON/THREAD_OFF semantics. This is espacially true for the functions we end up calling the thread for. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ldpd/interface.c')
-rw-r--r--ldpd/interface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ldpd/interface.c b/ldpd/interface.c
index 3e9f2fa991..5e04eab1b3 100644
--- a/ldpd/interface.c
+++ b/ldpd/interface.c
@@ -471,7 +471,6 @@ static void
if_start_hello_timer(struct iface_af *ia)
{
thread_cancel(&ia->hello_timer);
- ia->hello_timer = NULL;
thread_add_timer(master, if_hello_timer, ia, if_get_hello_interval(ia),
&ia->hello_timer);
}