Commit 1661e002 authored by Ondrej Zajicek (work)'s avatar Ondrej Zajicek (work)
Browse files

BSD: Fix build

parent ea8a8c5d
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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)
{