]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
printpkt: fix statement punctuator
authorJeremy Sowden <jeremy@azazel.net>
Mon, 21 Aug 2023 19:42:28 +0000 (20:42 +0100)
committerFlorian Westphal <fw@strlen.de>
Thu, 14 Sep 2023 12:22:49 +0000 (14:22 +0200)
Replace comma with semicolon.

Fixes: d4cf078cb71a ("add ukey_* function for key assignation")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
util/printpkt.c

index b9b47b2f63a06324037bfabfec62593e40cdedef..11126b3c9af71256d407951b50c82fa806eafbd0 100644 (file)
@@ -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,