diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-19 02:34:45 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-11-19 02:34:45 +0200 |
commit | fb03f7ac53adbaae8d8add2721941393243917fa (patch) | |
tree | 13e2cc5c6d2e5a17302f9cc4783fe7d19765ba54 | |
parent | 1227f96ebb7276f88b88756fed0ffca4ea162659 (diff) | |
download | varnish-mib-fb03f7ac53adbaae8d8add2721941393243917fa.tar.gz varnish-mib-fb03f7ac53adbaae8d8add2721941393243917fa.tar.bz2 |
Fix comments in src/varnish_mib.mib2c
-rw-r--r-- | src/varnish_mib.mib2c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/varnish_mib.mib2c b/src/varnish_mib.mib2c index 8535b0d..6be8cd7 100644 --- a/src/varnish_mib.mib2c +++ b/src/varnish_mib.mib2c | |||
@@ -173,16 +173,15 @@ handle_$i(netsnmp_mib_handler *handler, | |||
173 | 173 | ||
174 | case MODE_SET_FREE: | 174 | case MODE_SET_FREE: |
175 | @if $varnish_set_free ne ''@ | 175 | @if $varnish_set_free ne ''@ |
176 | /* XXX: free resources allocated in RESERVE1 and/or | 176 | # Free resources allocated in RESERVE1 and/or |
177 | RESERVE2. Something failed somewhere, and the states | 177 | # RESERVE2. Something failed somewhere, and the states |
178 | below won't be called. */ | 178 | # below won't be called. */ |
179 | $varnish_set_free(reqinfo, requests, vd); | 179 | $varnish_set_free(reqinfo, requests, vd); |
180 | @end@ | 180 | @end@ |
181 | break; | 181 | break; |
182 | 182 | ||
183 | case MODE_SET_ACTION: | 183 | case MODE_SET_ACTION: |
184 | @if $varnish_set_action ne ''@ | 184 | @if $varnish_set_action ne ''@ |
185 | /* XXX: perform the value change here */ | ||
186 | ret = $varnish_set_action(reqinfo, requests, vd); | 185 | ret = $varnish_set_action(reqinfo, requests, vd); |
187 | if (ret != SNMP_ERR_NOERROR) | 186 | if (ret != SNMP_ERR_NOERROR) |
188 | netsnmp_set_request_error(reqinfo, requests, ret); | 187 | netsnmp_set_request_error(reqinfo, requests, ret); |
@@ -191,7 +190,7 @@ handle_$i(netsnmp_mib_handler *handler, | |||
191 | 190 | ||
192 | case MODE_SET_COMMIT: | 191 | case MODE_SET_COMMIT: |
193 | @if $varnish_set_commit ne ''@ | 192 | @if $varnish_set_commit ne ''@ |
194 | /* XXX: delete temporary storage */ | 193 | # delete temporary storage |
195 | if ($varnish_set_commit(reqinfo, requests, vd)) | 194 | if ($varnish_set_commit(reqinfo, requests, vd)) |
196 | netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_COMMITFAILED); | 195 | netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_COMMITFAILED); |
197 | @end@ | 196 | @end@ |
@@ -199,7 +198,7 @@ handle_$i(netsnmp_mib_handler *handler, | |||
199 | 198 | ||
200 | case MODE_SET_UNDO: | 199 | case MODE_SET_UNDO: |
201 | @if $varnish_set_undo ne ''@ | 200 | @if $varnish_set_undo ne ''@ |
202 | /* XXX: UNDO and return to previous value for the object */ | 201 | # UNDO and return to previous value for the object |
203 | if ($varnish_set_undo(reqinfo, requests, vd)) | 202 | if ($varnish_set_undo(reqinfo, requests, vd)) |
204 | netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_UNDOFAILED); | 203 | netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_UNDOFAILED); |
205 | @end@ | 204 | @end@ |