diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-07-01 18:05:11 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-07-01 23:50:39 +0300 | 
| commit | 12256b84a540434485b16433f83aa23928405560 (patch) | |
| tree | e1ef59c861d62e6527ebe87f6527142f18cfef8d /pimd/pim_igmpv3.c | |
| parent | 45833edae0fe12c87cdb90f939c07d282959e1b9 (diff) | |
*: Convert numeric 32 into IPV4_MAX_BITLEN for prefixlen
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'pimd/pim_igmpv3.c')
| -rw-r--r-- | pimd/pim_igmpv3.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_igmpv3.c b/pimd/pim_igmpv3.c index 3ae7744eb0..afa2db5f15 100644 --- a/pimd/pim_igmpv3.c +++ b/pimd/pim_igmpv3.c @@ -1953,7 +1953,7 @@ int igmp_v3_recv_report(struct igmp_sock *igmp, struct in_addr from,  		g.family = AF_INET;  		g.u.prefix4 = rec_group; -		g.prefixlen = 32; +		g.prefixlen = IPV4_MAX_BITLEN;  		/* determine filtering status for group */  		filtered = pim_is_group_filtered(ifp->info, &rec_group);  | 
