]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
BSD: Fix build
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 23 Jan 2018 17:57:59 +0000 (18:57 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 23 Jan 2018 17:57:59 +0000 (18:57 +0100)
sysdep/bsd/sysio.h

index 68296e653f02e19ce2548c3cc710ebd45da8ca49..83da45f1b0c9aa75276a1c6625070793f5b4fc2c 100644 (file)
@@ -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)
 {