summaryrefslogtreecommitdiff
path: root/src/systemd/sd-ndisc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd/sd-ndisc.h')
-rw-r--r--src/systemd/sd-ndisc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/sd-ndisc.h b/src/systemd/sd-ndisc.h
index 71e65d4425..d48612efdf 100644
--- a/src/systemd/sd-ndisc.h
+++ b/src/systemd/sd-ndisc.h
@@ -79,6 +79,8 @@ int sd_ndisc_router_discovery_start(sd_ndisc *nd);
be16toh((address).s6_addr16[6]), \
be16toh((address).s6_addr16[7])
+_SD_DEFINE_POINTER_CLEANUP_FUNC(sd_ndisc, sd_ndisc_unref);
+
_SD_END_DECLARATIONS;
#endif