From 1661e00280e6fd6bc588b3f47f8af2fce551f2b8 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 23 Jan 2018 18:57:59 +0100 Subject: [PATCH] BSD: Fix build --- sysdep/bsd/sysio.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sysdep/bsd/sysio.h b/sysdep/bsd/sysio.h index 68296e653..83da45f1b 100644 --- a/sysdep/bsd/sysio.h +++ b/sysdep/bsd/sysio.h @@ -245,6 +245,20 @@ sk_set_min_ttl6(sock *s, int ttl UNUSED) ERR_MSG("Kernel does not support IPv6 TTL security"); } +static inline int +sk_set_router_alert4(sock *s, int ra) +{ + /* TODO: Set IP_ROUTER_ALERT to 1 ? */ + return 0; +} + +static inline int +sk_set_router_alert6(sock *s, int ra) +{ + /* TODO: Set IPV6_ROUTER_ALERT to 1 ? */ + return 0; +} + static inline int sk_disable_mtu_disc4(sock *s UNUSED) { -- 2.47.2