ignore ENETRESET on ADDMULTI
This commit is contained in:
parent
018cb094b4
commit
90d92fe2d9
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ip6_mroute.c,v 1.55 2003/08/22 21:53:08 itojun Exp $ */
|
||||
/* $NetBSD: ip6_mroute.c,v 1.56 2003/10/15 22:16:35 itojun Exp $ */
|
||||
/* $KAME: ip6_mroute.c,v 1.49 2001/07/25 09:21:18 jinmei Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -117,7 +117,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ip6_mroute.c,v 1.55 2003/08/22 21:53:08 itojun Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ip6_mroute.c,v 1.56 2003/10/15 22:16:35 itojun Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#include "opt_mrouting.h"
|
||||
|
@ -668,6 +668,8 @@ add_m6if(mifcp)
|
|||
ifr.ifr_addr.sin6_family = AF_INET6;
|
||||
ifr.ifr_addr.sin6_addr = in6addr_any;
|
||||
error = (*ifp->if_ioctl)(ifp, SIOCADDMULTI, (caddr_t)&ifr);
|
||||
if (error == ENETRESET)
|
||||
error = 0;
|
||||
splx(s);
|
||||
if (error)
|
||||
return error;
|
||||
|
|
Loading…
Reference in New Issue