From 2a1bcb29beb04ee5e9d653efe54d0cf9e47a8d83 Mon Sep 17 00:00:00 2001 From: wollman Date: Fri, 21 Feb 1997 18:34:58 +0000 Subject: [PATCH] Properly notice error returns from if_allmulti(). --- sys/netinet/ip_mroute.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index ef74de1e976b..9c61921e7782 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -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;