Properly notice error returns from if_allmulti().

This commit is contained in:
Garrett Wollman 1997-02-21 18:34:58 +00:00
parent ef53690bb4
commit cf4dae1061
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
* Modified by Bill Fenner, PARC, April 1995
*
* MROUTING Revision: 3.5
* $FreeBSD$
* $Id$
*/
#include "opt_mrouting.h"
@ -729,7 +729,7 @@ add_vif(vifcp)
/* Enable promiscuous reception of all IP multicasts from the if */
s = splnet();
if_allmulti(ifp, 1);
error = if_allmulti(ifp, 1);
splx(s);
if (error)
return error;