Browse Source

disable RDOMAIN FreeBSD compatibility

OPENBSD_5_8
Brent Cook 9 years ago
parent
commit
aacd89e84a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      patches/0005-check-if-rdomain-support-is-available.patch

+ 1
- 1
patches/0005-check-if-rdomain-support-is-available.patch View File

@ -50,7 +50,7 @@ index de4cd84..1402d74 100644
#define DRIFTFILE "/var/db/ntpd.drift"
#define CTLSOCKET "/var/run/ntpd.sock"
+#if defined(SO_SETFIB)
+#if defined(SO_SETFIB) && defined(FREEBSD_SO_RTABLE_ENABLED)
+#define SO_RTABLE SO_SETFIB
+#define SIOCGIFRDOMAIN SIOCGIFFIB
+#define ifr_rdomainid ifr_fib


Loading…
Cancel
Save