diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-02-09 20:31:41 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-02-09 20:31:41 +0100 |
| commit | 2b6b214cf2fc16447250192774f9c8e124793c50 (patch) | |
| tree | b0e4b16632ac24a976463c30ff048c8d3f684eb5 /pkg/csource/linux_common.go | |
| parent | 033b610ec91096a5791c90761df1289fd33280e6 (diff) | |
pkg/csource: fix debug calls
debug calls are only properly stripped if they are on a single line.
Diffstat (limited to 'pkg/csource/linux_common.go')
| -rw-r--r-- | pkg/csource/linux_common.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkg/csource/linux_common.go b/pkg/csource/linux_common.go index 37557447a..4f16dc7fc 100644 --- a/pkg/csource/linux_common.go +++ b/pkg/csource/linux_common.go @@ -2117,9 +2117,7 @@ static void checkpoint_iptables(struct ipt_table_desc* tables, int num_tables, i } fail("getsockopt(IPT_SO_GET_INFO)"); } - debug("checkpoint iptable %s/%d: entries=%d hooks=%x size=%d\n", - table->name, family, table->info.num_entries, table->info.valid_hooks, - table->info.size); + debug("checkpoint iptable %s/%d: entries=%d hooks=%x size=%d\n", table->name, family, table->info.num_entries, table->info.valid_hooks, table->info.size); if (table->info.size > sizeof(table->replace.entrytable)) fail("table size is too large: %u", table->info.size); if (table->info.num_entries > XT_MAX_ENTRIES) @@ -2204,8 +2202,7 @@ static void checkpoint_arptables(void) } fail("getsockopt(ARPT_SO_GET_INFO)"); } - debug("checkpoint arptable %s: entries=%d hooks=%x size=%d\n", - table->name, table->info.num_entries, table->info.valid_hooks, table->info.size); + debug("checkpoint arptable %s: entries=%d hooks=%x size=%d\n", table->name, table->info.num_entries, table->info.valid_hooks, table->info.size); if (table->info.size > sizeof(table->replace.entrytable)) fail("table size is too large: %u", table->info.size); if (table->info.num_entries > XT_MAX_ENTRIES) |
