diff options
author | Arturo Borrero <arturo.borrero.glez@gmail.com> | 2015-03-18 11:43:24 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-03-18 14:55:10 +0100 |
commit | f3ff9e9f6251ad4e757fa4a3f1db07dc9b7a6ed0 (patch) | |
tree | 7697e2d0e0c218068b375a2a93f1eea4aef8cc27 /src | |
parent | 4eeb35ae781abee62864a66ecd3fa437ee1b473c (diff) |
rule: delete extra space in rule indentation
Annoying extra space in rule indentation:
Example before this patch:
table ip6 test_table {
chain test_chain {
counter tcp dport { 22, 80, 443} accept # handle 1
^
}
}
Example after this patch:
table ip6 test_table {
chain test_chain {
counter tcp dport { 22, 80, 443} accept # handle 1
}
}
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/rule.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -237,11 +237,11 @@ void rule_print(const struct rule *rule) const struct stmt *stmt; list_for_each_entry(stmt, &rule->stmts, list) { - printf(" "); stmt->ops->print(stmt); + printf(" "); } if (handle_output > 0) - printf(" # handle %" PRIu64, rule->handle.handle); + printf("# handle %" PRIu64, rule->handle.handle); } struct scope *scope_init(struct scope *scope, const struct scope *parent) |