diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2021-04-23 11:25:44 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2021-04-23 12:25:51 +0200 |
commit | 642ac49da40a196c4e4ad74128de2056237d3cb4 (patch) | |
tree | 14831ec31bc6ec830744a06d8a8625cfec6604e0 /nhrpd | |
parent | pimd: zassert => assert (diff) | |
download | frr-642ac49da40a196c4e4ad74128de2056237d3cb4.tar.xz frr-642ac49da40a196c4e4ad74128de2056237d3cb4.zip |
*: remaining zassert => assert
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'nhrpd')
-rw-r--r-- | nhrpd/nhrp_cache.c | 2 | ||||
-rw-r--r-- | nhrpd/zbuf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nhrpd/nhrp_cache.c b/nhrpd/nhrp_cache.c index bcf0e2168..c358baecb 100644 --- a/nhrpd/nhrp_cache.c +++ b/nhrpd/nhrp_cache.c @@ -72,7 +72,7 @@ static void nhrp_cache_free(struct nhrp_cache *c) debugf(NHRP_DEBUG_COMMON, "Deleting cache entry"); nhrp_cache_counts[c->cur.type]--; notifier_call(&c->notifier_list, NOTIFY_CACHE_DELETE); - zassert(!notifier_active(&c->notifier_list)); + assert(!notifier_active(&c->notifier_list)); hash_release(nifp->cache_hash, c); THREAD_OFF(c->t_timeout); THREAD_OFF(c->t_auth); diff --git a/nhrpd/zbuf.c b/nhrpd/zbuf.c index e3d9d042c..e191a90f2 100644 --- a/nhrpd/zbuf.c +++ b/nhrpd/zbuf.c @@ -59,7 +59,7 @@ void zbuf_reset(struct zbuf *zb) void zbuf_reset_head(struct zbuf *zb, void *ptr) { - zassert((void *)zb->buf <= ptr && ptr <= (void *)zb->tail); + assert((void *)zb->buf <= ptr && ptr <= (void *)zb->tail); zb->head = ptr; } |