diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-01-05 16:07:17 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2022-01-17 14:09:01 +0100 | 
| commit | bca160c6af499365a946d5b86f9cc71cbc948869 (patch) | |
| tree | 314598940e42dfd3357fc95d30a7a726792f14aa /pimd/pim_igmp_mtrace.c | |
| parent | 62f59b58ba4c0fa2a5763bccaade47d6b070438b (diff) | |
pimd: add PIMADDR_ANY & tackle assignments
Need a separate constant that is IPv6 when needed.  Also assign the
whole struct rather than just s_addr.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_igmp_mtrace.c')
| -rw-r--r-- | pimd/pim_igmp_mtrace.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_igmp_mtrace.c b/pimd/pim_igmp_mtrace.c index c11f2b35db..d8210168e2 100644 --- a/pimd/pim_igmp_mtrace.c +++ b/pimd/pim_igmp_mtrace.c @@ -119,7 +119,7 @@ static bool mtrace_fwd_info(struct pim_instance *pim,  	up = pim_upstream_find(pim, &sg);  	if (!up) { -		sg.src.s_addr = INADDR_ANY; +		sg.src = PIMADDR_ANY;  		up = pim_upstream_find(pim, &sg);  	}  | 
