summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/bsnmp-jails.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/bsnmp-jails.c b/module/bsnmp-jails.c
index 87e5136..fa14cf0 100644
--- a/module/bsnmp-jails.c
+++ b/module/bsnmp-jails.c
@@ -85,6 +85,10 @@ struct xprison_v1 {
u_int32_t pr_ip;
};
+#ifndef JAIL_MAX_IPS
+#define JAIL_MAX_IPS 256
+#endif
+
struct xprison_v2 {
int pr_version;
int pr_id;