summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-06-19 02:54:04 +0000
committergreen <green@FreeBSD.org>1999-06-19 02:54:04 +0000
commita916e56dd313e5c62de2cff5469fc1d6e7e5eb6a (patch)
treeae476bced8547f7d3b94a8be391eadb842cab569
parent2f586076cdac59250332cc3e33017bc718a6c8b4 (diff)
downloadFreeBSD-src-a916e56dd313e5c62de2cff5469fc1d6e7e5eb6a.zip
FreeBSD-src-a916e56dd313e5c62de2cff5469fc1d6e7e5eb6a.tar.gz
This should fix ipfilter for everyone it was broken for. CDEV_MAJOR is _not_
-1. Noticed by: users on freebsd-current
-rw-r--r--sys/netinet/mlf_ipl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/mlf_ipl.c b/sys/netinet/mlf_ipl.c
index 3e0e240..55f0ab2 100644
--- a/sys/netinet/mlf_ipl.c
+++ b/sys/netinet/mlf_ipl.c
@@ -167,7 +167,7 @@ static struct cdevsw ipl_cdevsw = {
/* strategy */ nostrategy,
/* name */ "ipl",
/* parms */ noparms,
- /* maj */ -1,
+ /* maj */ CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
OpenPOWER on IntegriCloud