Changeset 036ea660b7b7a616cc290584da8b46a20360b5f7
- Timestamp:
- 07/12/10 16:14:18
(3 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1278951258 +0000
- git-parent:
[ea766cfca8daf3326b219587338a3b25b87de8e4]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1278951258 +0000
- Message:
this should allow showing arbitrary length filters over the console.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rf8f8b5e |
r036ea66 |
|
| 288 | 288 | nc_printf(ncct, "Rule %d [%s]:\n", i+1, val); |
|---|
| 289 | 289 | #define DUMP_ATTR(a) do { \ |
|---|
| 290 | | if(noit_conf_get_stringbuf(rules[i], "@" #a, val, sizeof(val))) { \ |
|---|
| | 290 | char *vstr; \ |
|---|
| | 291 | if(noit_conf_get_string(rules[i], "@" #a, &vstr)) { \ |
|---|
| 291 | 292 | nc_printf(ncct, "\t%s: /%s/\n", #a, val); \ |
|---|
| | 293 | free(vstr); \ |
|---|
| 292 | 294 | } \ |
|---|
| 293 | 295 | } while(0) |
|---|