diff options
author | peter <peter@FreeBSD.org> | 1998-03-27 18:03:13 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-03-27 18:03:13 +0000 |
commit | 817278db3ea7d62598efab8f30596d6a97d89202 (patch) | |
tree | 12c873204cdb7e06ae73b5f0b9eb0beee22e1030 /sys | |
parent | 3d734edb311ba30019eb2e67eb061488e5ccd57a (diff) | |
download | FreeBSD-src-817278db3ea7d62598efab8f30596d6a97d89202.zip FreeBSD-src-817278db3ea7d62598efab8f30596d6a97d89202.tar.gz |
allow open on all minors
Diffstat (limited to 'sys')
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_fil.c | 4 | ||||
-rw-r--r-- | sys/netinet/ip_fil.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_fil.c b/sys/contrib/ipfilter/netinet/ip_fil.c index 598e457..d558844 100644 --- a/sys/contrib/ipfilter/netinet/ip_fil.c +++ b/sys/contrib/ipfilter/netinet/ip_fil.c @@ -7,7 +7,7 @@ */ #if !defined(lint) static const char sccsid[] = "@(#)ip_fil.c 2.41 6/5/96 (C) 1993-1995 Darren Reed"; -static const char rcsid[] = "@(#)$Id: ip_fil.c,v 1.1.1.6 1998/03/21 10:11:08 peter Exp $"; +static const char rcsid[] = "@(#)$Id: ip_fil.c,v 1.2 1998/03/21 11:34:02 peter Exp $"; #endif #include "opt_ipfilter.h" @@ -724,7 +724,7 @@ int flags; u_int min = GET_MINOR(dev); #endif - if (2 < min) + if (IPL_LOGMAX < min) min = ENXIO; else min = 0; diff --git a/sys/netinet/ip_fil.c b/sys/netinet/ip_fil.c index 598e457..d558844 100644 --- a/sys/netinet/ip_fil.c +++ b/sys/netinet/ip_fil.c @@ -7,7 +7,7 @@ */ #if !defined(lint) static const char sccsid[] = "@(#)ip_fil.c 2.41 6/5/96 (C) 1993-1995 Darren Reed"; -static const char rcsid[] = "@(#)$Id: ip_fil.c,v 1.1.1.6 1998/03/21 10:11:08 peter Exp $"; +static const char rcsid[] = "@(#)$Id: ip_fil.c,v 1.2 1998/03/21 11:34:02 peter Exp $"; #endif #include "opt_ipfilter.h" @@ -724,7 +724,7 @@ int flags; u_int min = GET_MINOR(dev); #endif - if (2 < min) + if (IPL_LOGMAX < min) min = ENXIO; else min = 0; |