From: Ondrej Zajicek (work) Date: Tue, 23 Jan 2018 17:57:59 +0000 (+0100) Subject: BSD: Fix build X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1661e00280e6fd6bc588b3f47f8af2fce551f2b8;p=thirdparty%2Fbird.git BSD: Fix build --- 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) {