The IP multicast forward functions return an errno, call the variable
authorbluhm <bluhm@openbsd.org>
Mon, 19 Jun 2017 17:00:16 +0000 (17:00 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 19 Jun 2017 17:00:16 +0000 (17:00 +0000)
commit7a3dea7e8ef7831bf445b52ab2c5981784d9068e
tree8fe41a04e1c5f53dfa6b78cba947dd5d6a2d2720
parent39db07acc392d74ddcfd5eb5bce997a4947cb020
The IP multicast forward functions return an errno, call the variable
error.  Make the ip_mforward() return value consistent.  Simplify
the caller logic in ipv6_input() like in IPv4.
OK mpi@
sys/netinet/ip_input.c
sys/netinet/ip_mroute.c
sys/netinet6/ip6_input.c