diff options
author | wollman <wollman@FreeBSD.org> | 1997-02-21 18:34:58 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1997-02-21 18:34:58 +0000 |
commit | 2a1bcb29beb04ee5e9d653efe54d0cf9e47a8d83 (patch) | |
tree | 8423b8ac3077b9580d24f4287139856ba9202cd9 /sys/netinet | |
parent | 15658f03db638eceb8c54603f6e7f072d02017f9 (diff) | |
download | FreeBSD-src-2a1bcb29beb04ee5e9d653efe54d0cf9e47a8d83.zip FreeBSD-src-2a1bcb29beb04ee5e9d653efe54d0cf9e47a8d83.tar.gz |
Properly notice error returns from if_allmulti().
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_mroute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index ef74de1..9c61921 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; |