aboutsummaryrefslogtreecommitdiff
path: root/src/ban.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-11-28 10:20:18 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2014-11-28 10:20:18 +0200
commit38cd993057ababdbf6b32aab35f834363647b7d8 (patch)
treebd8f576b2a833b5a597b7a8dd7309f5ee5413180 /src/ban.c
parent443bc6290a6a90b2c74612d7d68945e375af0ec3 (diff)
downloadvarnish-mib-38cd993057ababdbf6b32aab35f834363647b7d8.tar.gz
varnish-mib-38cd993057ababdbf6b32aab35f834363647b7d8.tar.bz2
Remove banTableTimeout oid.
Diffstat (limited to 'src/ban.c')
-rw-r--r--src/ban.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ban.c b/src/ban.c
index 72aa506..8d48db2 100644
--- a/src/ban.c
+++ b/src/ban.c
@@ -99,20 +99,6 @@ varnish_ban_table_timeout_parser(const char *token, char *line)
varnish_mib_timeout_parser(token, line, &banTable_timeout);
}
-int
-varnish_ban_table_timeout_set(netsnmp_agent_request_info *reqinfo,
- netsnmp_request_info *requests,
- struct VSM_data *vd)
-{
- if (*requests->requestvb->val.integer < 0 ||
- *requests->requestvb->val.integer > UINT_MAX)
- return SNMP_ERR_BADVALUE;
- DEBUGMSGTL(("varnish_ban", "setting banTable timeout %ld\n",
- *requests->requestvb->val.integer));
- banTable_timeout = *requests->requestvb->val.integer;
- return SNMP_ERR_NOERROR;
-}
-
/*
* create a new row in the table
*/

Return to:

Send suggestions and report system problems to the System administrator.