diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-28 10:20:18 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-28 10:20:18 +0200 |
commit | 38cd993057ababdbf6b32aab35f834363647b7d8 (patch) | |
tree | bd8f576b2a833b5a597b7a8dd7309f5ee5413180 /src/ban.c | |
parent | 443bc6290a6a90b2c74612d7d68945e375af0ec3 (diff) | |
download | varnish-mib-38cd993057ababdbf6b32aab35f834363647b7d8.tar.gz varnish-mib-38cd993057ababdbf6b32aab35f834363647b7d8.tar.bz2 |
Remove banTableTimeout oid.
Diffstat (limited to 'src/ban.c')
-rw-r--r-- | src/ban.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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 */ |