diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2016-11-12 18:39:51 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2016-11-25 11:46:06 -0200 |
| commit | 5736139d4a9192c9ba296d2bddc5bbbd025dfd7f (patch) | |
| tree | 8a1fe09a691392f57742f5d04ac47b8d6047724a /ldpd/socket.c | |
| parent | ae735d2d0e13a6babd796ca171519b9db4feaf81 (diff) | |
pimd/zebra: fix setting of IP_MULTICAST_LOOP on OpenBSD
Linux, FreeBSD and NetBSD (and possibly others too) accept both uint8_t
and int for the IP_MULTICAST_LOOP sockoption. OpenBSD, in the other hand,
accepts only uint8_t. To make setting IP_MULTICAST_LOOP work on every
supported platform, always pass a uint8_t variable as a parameter.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ldpd/socket.c')
0 files changed, 0 insertions, 0 deletions
