pim6_input: eliminate write only variable rc
Sponsored by: Netflix
This commit is contained in:
parent
e606e5d157
commit
c7761ca93e
@ -1793,7 +1793,6 @@ pim6_input(struct mbuf *m, int off, int proto, void *arg __unused)
|
||||
struct mbuf *mcp;
|
||||
struct ip6_hdr *eip6;
|
||||
u_int32_t *reghdr;
|
||||
int rc;
|
||||
#ifdef MRT6DEBUG
|
||||
char ip6bufs[INET6_ADDRSTRLEN], ip6bufd[INET6_ADDRSTRLEN];
|
||||
#endif
|
||||
@ -1871,7 +1870,7 @@ pim6_input(struct mbuf *m, int off, int proto, void *arg __unused)
|
||||
ip6_sprintf(ip6bufs, &eip6->ip6_src),
|
||||
ip6_sprintf(ip6bufd, &eip6->ip6_dst), reg_mif_num);
|
||||
|
||||
rc = if_simloop(mif6table[reg_mif_num].m6_ifp, m,
|
||||
if_simloop(mif6table[reg_mif_num].m6_ifp, m,
|
||||
dst.sin6_family, 0);
|
||||
|
||||
/* prepare the register head to send to the mrouting daemon */
|
||||
|
Loading…
Reference in New Issue
Block a user