From: Jeremy Sowden Date: Mon, 21 Aug 2023 19:42:28 +0000 (+0100) Subject: printpkt: fix statement punctuator X-Git-Tag: ulogd-2.0.9~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d83d0a33ebd913e439bffd3de95b817e2c8cbd7;p=thirdparty%2Fulogd2.git printpkt: fix statement punctuator Replace comma with semicolon. Fixes: d4cf078cb71a ("add ukey_* function for key assignation") Signed-off-by: Jeremy Sowden Signed-off-by: Florian Westphal --- diff --git a/util/printpkt.c b/util/printpkt.c index b9b47b2..11126b3 100644 --- a/util/printpkt.c +++ b/util/printpkt.c @@ -264,7 +264,7 @@ static int printpkt_ipv4(struct ulogd_key *res, char *buf) ikey_get_u32(&res[KEY_ICMP_GATEWAY]) >> 24); break; case ICMP_REDIRECT: - paddr = ikey_get_u32(&res[KEY_ICMP_GATEWAY]), + paddr = ikey_get_u32(&res[KEY_ICMP_GATEWAY]); buf_cur += sprintf(buf_cur, "GATEWAY=%s ", inet_ntop(AF_INET, &paddr,