troglobit / pimd

PIM-SM/SSM multicast routing for UNIX and Linux
http://troglobit.com/projects/pimd/
BSD 3-Clause "New" or "Revised" License
194 stars 86 forks source link

Extra Address Operator #129

Closed wgc1212 closed 5 years ago

wgc1212 commented 5 years ago

https://github.com/troglobit/pimd/blob/11673d27c22420054247f002f049d3af64a348d2/src/route.c#L721

calc_oifs() calls for a pointer to the oifs. Since oifs was declared as an array, that address would be 'oifs' not '&oifs'.

troglobit commented 5 years ago

Thanks, fixed on master now.