diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2021-04-23 11:23:57 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2021-04-23 12:25:47 +0200 |
commit | df5dfb77b5c38fc1c5b242b3df1f4bc9b3e02869 (patch) | |
tree | 3e55d2c4d7154bed6ad54e03086ad178873173fc /pimd/pim_igmpv2.c | |
parent | *: drop zassert.h (diff) | |
download | frr-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_igmpv2.c')
-rw-r--r-- | pimd/pim_igmpv2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_igmpv2.c b/pimd/pim_igmpv2.c index 7f3c7a0f8..6eadf87c8 100644 --- a/pimd/pim_igmpv2.c +++ b/pimd/pim_igmpv2.c @@ -54,7 +54,7 @@ void igmp_v2_send_query(struct igmp_group *group, int fd, const char *ifname, /* max_resp_code must be non-zero else this will look like an IGMP v1 * query */ max_resp_code = igmp_msg_encode16to8(query_max_response_time_dsec); - zassert(max_resp_code > 0); + assert(max_resp_code > 0); query_buf[0] = PIM_IGMP_MEMBERSHIP_QUERY; query_buf[1] = max_resp_code; |