summaryrefslogtreecommitdiffstats
path: root/pimd/pim_assert.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-04-23 11:23:57 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2021-04-23 12:25:47 +0200
commitdf5dfb77b5c38fc1c5b242b3df1f4bc9b3e02869 (patch)
tree3e55d2c4d7154bed6ad54e03086ad178873173fc /pimd/pim_assert.c
parent*: drop zassert.h (diff)
downloadfrr-df5dfb77b5c38fc1c5b242b3df1f4bc9b3e02869.tar.xz
frr-df5dfb77b5c38fc1c5b242b3df1f4bc9b3e02869.zip
pimd: zassert => assert
No point in having pimd use zassert() while everything else uses plain assert(). Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_assert.c')
-rw-r--r--pimd/pim_assert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_assert.c b/pimd/pim_assert.c
index 957f90471..098893870 100644
--- a/pimd/pim_assert.c
+++ b/pimd/pim_assert.c
@@ -304,7 +304,7 @@ int pim_assert_recv(struct interface *ifp, struct pim_neighbor *neigh,
msg_metric.ip_address = src_addr;
pim_ifp = ifp->info;
- zassert(pim_ifp);
+ assert(pim_ifp);
++pim_ifp->pim_ifstat_assert_recv;
return dispatch_assert(ifp, msg_source_addr.u.prefix4, sg.grp,