summaryrefslogtreecommitdiff
path: root/sbin/slaacd/slaacd.h
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2024-08-24 09:42:41 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2024-08-24 09:42:41 +0000
commitffaf41f3ccc59f7930b81dc9f2649da26c7e7c59 (patch)
treede709639eb103e0ecde998b1820fa200656f9be6 /sbin/slaacd/slaacd.h
parent5a69726c7ec7b48d9d70476ebe02a8560a17942f (diff)
Helper function for logging imsg type names.
OK tb as part of a larger diff
Diffstat (limited to 'sbin/slaacd/slaacd.h')
-rw-r--r--sbin/slaacd/slaacd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/slaacd/slaacd.h b/sbin/slaacd/slaacd.h
index 2844f4a63b7..77087c3c56a 100644
--- a/sbin/slaacd/slaacd.h
+++ b/sbin/slaacd/slaacd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: slaacd.h,v 1.38 2022/07/12 16:55:00 florian Exp $ */
+/* $OpenBSD: slaacd.h,v 1.39 2024/08/24 09:42:40 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
@@ -206,6 +206,8 @@ int imsg_compose_event(struct imsgev *, uint16_t, uint32_t, pid_t,
int, void *, uint16_t);
#ifndef SMALL
const char *sin6_to_str(struct sockaddr_in6 *);
+const char *i2s(uint32_t);
#else
#define sin6_to_str(x...) ""
+#define i2s(x...) ""
#endif /* SMALL */