summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2023-08-21 20:42:28 +0100
committerFlorian Westphal <fw@strlen.de>2023-09-14 14:22:49 +0200
commit1d83d0a33ebd913e439bffd3de95b817e2c8cbd7 (patch)
tree3e1259b667d59bd25e9f22f595b7337cfefd87ff
parentc2692b0fe414df398f310c38c0261c7e98066f93 (diff)
printpkt: fix statement punctuator
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>
-rw-r--r--util/printpkt.c2
1 files changed, 1 insertions, 1 deletions
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,