diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-05-03 11:17:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-03 11:17:36 -0400 |
| commit | f71e1ff6a98d0e244c7da11d870d14e31b517811 (patch) | |
| tree | 0657d1718fa1018c0e8aa3bea76266f9dd6677ad /pimd/pim_igmpv2.c | |
| parent | 92046e65409fe0ba2935e886cfb778253d5d8d4e (diff) | |
| parent | 4f1a6d98da0703b066a1ae92dcac7c8f6ae3b1e6 (diff) | |
Merge pull request #8545 from opensourcerouting/assert-our-own
*: make our own assert() actually work
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 7f3c7a0f8c..6eadf87c83 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; |
