summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.in4
-rw-r--r--module/bsnmp-jails.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index cfb7c2e..e53ffc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,12 @@
+0.3
+ - Support multiple IPs per jail.
+
0.2
- Add tracking of number of processes.
- Don't include jails that have no processes (FreeBSD has these
when a socket is hung in an open state).
- Add tracking of the amount of disk space and files used by
the jail.
- - Support multiple IPs per jail.
0.1
- Initial Release
diff --git a/configure.in b/configure.in
index ddeaf2a..4de57f6 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,6 @@
# Process this file with autoconf to produce a configure script.
-AC_INIT(bsnmp-jails, 0.2, stef@memberwebs.com)
-AM_INIT_AUTOMAKE(bsnmp-jails, 0.2)
+AC_INIT(bsnmp-jails, 0.3, stef@memberwebs.com)
+AM_INIT_AUTOMAKE(bsnmp-jails, 0.3)
AC_CONFIG_SRCDIR([module/bsnmp-jails.c])
AM_CONFIG_HEADER([config.h])
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;