summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2017-08-23 10:46:40 +0000
committerflorian <florian@openbsd.org>2017-08-23 10:46:40 +0000
commit86f1960311d1ec5ef83ac874edfa384850ba764e (patch)
tree32223d7d373fd12fc547c2d56047594dfcf3d79d
parentExtract timeout_from_lifetime(); to be used in more places. (diff)
downloadwireguard-openbsd-86f1960311d1ec5ef83ac874edfa384850ba764e.tar.xz
wireguard-openbsd-86f1960311d1ec5ef83ac874edfa384850ba764e.zip
We will never need this on the ramdisk.
-rw-r--r--sbin/slaacd/engine.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/slaacd/engine.c b/sbin/slaacd/engine.c
index 01ed092a8e8..f1da36d379b 100644
--- a/sbin/slaacd/engine.c
+++ b/sbin/slaacd/engine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: engine.c,v 1.14 2017/08/23 10:45:35 florian Exp $ */
+/* $OpenBSD: engine.c,v 1.15 2017/08/23 10:46:40 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
@@ -220,6 +220,7 @@ void engine_dispatch_main(int, short, void *);
#ifndef SMALL
void send_interface_info(struct slaacd_iface *, pid_t);
void engine_showinfo_ctl(struct imsg *, uint32_t);
+void debug_log_ra(struct imsg_ra *);
#endif /* SMALL */
struct slaacd_iface *get_slaacd_iface_by_id(uint32_t);
void remove_slaacd_iface(uint32_t);
@@ -238,7 +239,6 @@ void gen_dfr_proposal(struct slaacd_iface *, struct
void configure_dfr(struct dfr_proposal *);
void free_dfr_proposal(struct dfr_proposal *);
void withdraw_dfr(struct dfr_proposal *);
-void debug_log_ra(struct imsg_ra *);
char *parse_dnssl(char *, int);
void update_iface_ra(struct slaacd_iface *, struct radv *);
void send_proposal(struct imsg_proposal *);
@@ -1228,6 +1228,7 @@ in6_prefixlen2mask(struct in6_addr *maskp, int len)
maskp->s6_addr[bytelen] = maskarray[bitlen - 1];
}
+#ifndef SMALL
void
debug_log_ra(struct imsg_ra *ra)
{
@@ -1420,6 +1421,7 @@ debug_log_ra(struct imsg_ra *ra)
p += nd_opt_hdr->nd_opt_len * 8 - 2;
}
}
+#endif /* SMALL */
char*
parse_dnssl(char* data, int datalen)