aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-03-27 18:03:13 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-03-27 18:03:13 +0000
commit5e9135b2e11408d5ca5bc17b4db7cd915d062c10 (patch)
treecc553f3a9b229c6710c13104e8a3cc2d1dd6202c
parent5c3a5f4a205839859176197e4fedeeab0610e922 (diff)
downloadsrc-5e9135b2e11408d5ca5bc17b4db7cd915d062c10.tar.gz
src-5e9135b2e11408d5ca5bc17b4db7cd915d062c10.zip
allow open on all minors
Notes
Notes: svn path=/head/; revision=34915
-rw-r--r--sys/netinet/ip_fil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_fil.c b/sys/netinet/ip_fil.c
index 598e457bae23..d558844bac57 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;