From b6fdd482ceb0afce2508eebf2e863df1b4071cb2 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Wed, 9 Feb 2022 19:12:26 +0100 Subject: Zephyr: Fix the ZEPHYR_PRINT() macro A block is needed. --- print-zephyr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'print-zephyr.c') diff --git a/print-zephyr.c b/print-zephyr.c index b3d897e0..11e1e593 100644 --- a/print-zephyr.c +++ b/print-zephyr.c @@ -140,8 +140,7 @@ str_to_lower(const char *string) } #define ZEPHYR_PRINT(str1,str2) \ -ND_PRINT("%s", str1); \ -fn_print_str(ndo, (const u_char *)str2); +{ ND_PRINT("%s", (str1)); fn_print_str(ndo, (const u_char *)(str2)); } void zephyr_print(netdissect_options *ndo, const u_char *cp, u_int length) -- cgit v1.2.1