summaryrefslogtreecommitdiffstats
path: root/sys/dev/vx
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-12-15 11:14:47 +0000
committerphk <phk@FreeBSD.org>1996-12-15 11:14:47 +0000
commit778ced07dee6643383c5a3e5b4b4acda21883d93 (patch)
tree33e2033990069d3bbc6ac753145088533db9644a /sys/dev/vx
parent945f80ddd175a14cf783d5d503282a5a162132ce (diff)
downloadFreeBSD-src-778ced07dee6643383c5a3e5b4b4acda21883d93.zip
FreeBSD-src-778ced07dee6643383c5a3e5b4b4acda21883d93.tar.gz
Support 4 of these as default, it only cost us 12 bytes more.
Diffstat (limited to 'sys/dev/vx')
-rw-r--r--sys/dev/vx/if_vx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c
index 83c736c..6125ff8 100644
--- a/sys/dev/vx/if_vx.c
+++ b/sys/dev/vx/if_vx.c
@@ -55,6 +55,11 @@
#include "vx.h"
#if NVX > 0
+#if NVX < 4 /* These cost 4 bytes apiece, so give us 4 */
+#undef NVX
+#define NVX 4
+#endif
+
#include "bpfilter.h"
#include <sys/param.h>
OpenPOWER on IntegriCloud