summaryrefslogtreecommitdiff
path: root/src/ipmeprint.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 22:05:52 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 22:05:52 +0200
commite6e9663d40f7aab9e1982dddcaa11386551ad182 (patch)
tree39c2a34aa78d4723e8308d270e872f61da3818ca /src/ipmeprint.c
parent20b85c03e751b4876fa3c92040464e483172b746 (diff)
fix issues preventing compilationjannis
Diffstat (limited to 'src/ipmeprint.c')
-rw-r--r--src/ipmeprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipmeprint.c b/src/ipmeprint.c
index 9c92138..d7886b6 100644
--- a/src/ipmeprint.c
+++ b/src/ipmeprint.c
@@ -23,8 +23,8 @@ int main()
for (j = 0; j < ipme.len; ++j) {
switch (ipme.ix[j].af) {
- case AF_INET: buffer_put(buffer_1, ipaddr, ip4_fmt(ipaddr, &ipme.ix[j].addr.ip4.d)); break;
- case AF_INET6: buffer_put(buffer_1, ipaddr, ip6_fmt(ipaddr, &ipme.ix[j].addr.ip6.d)); break;
+ case AF_INET: buffer_put(buffer_1, ipaddr, ip4_fmt(ipaddr, ipme.ix[j].addr.ip4.d)); break;
+ case AF_INET6: buffer_put(buffer_1, ipaddr, ip6_fmt(ipaddr, ipme.ix[j].addr.ip6.d)); break;
default:
buffer_puts(buffer_1, "Unknown address family = ");
buffer_put(buffer_1, ipaddr, fmt_ulong(ipaddr, ipme.ix[j].af));