Skip to content

Commit 5b10dbb

Browse files
Phil SutterFlorian Westphal
Phil Sutter
authored and
Florian Westphal
committed
ct: Fix output_fp bypass in ct_print()
Signed-off-by: Phil Sutter <[email protected]> Signed-off-by: Florian Westphal <[email protected]>
1 parent b2dfb5c commit 5b10dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ct.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ static void ct_print(enum nft_ct_keys key, int8_t dir, uint8_t nfproto,
293293
case NFT_CT_DST:
294294
desc = proto_find_upper(&proto_inet, nfproto);
295295
if (desc)
296-
printf("%s ", desc->name);
296+
nft_print(octx, "%s ", desc->name);
297297
break;
298298
default:
299299
break;

0 commit comments

Comments
 (0)