17 lines
438 B
Plaintext
17 lines
438 B
Plaintext
$NetBSD: patch-aa,v 1.7 2013/02/10 05:55:07 manu Exp $
|
|
|
|
--- src/openvpn/route.c.orig 2010-11-04 19:29:40.000000000 +0000
|
|
+++ src/openvpn/route.c
|
|
@@ -1614,7 +1614,11 @@ get_default_gateway (in_addr_t *gateway,
|
|
#define RTA_NETMASK 0x4
|
|
|
|
#define RTM_GET 0x4
|
|
+#if defined(TARGET_DRAGONFLY) && __DragonFly_version >= 200000
|
|
+#define RTM_VERSION 6
|
|
+#else
|
|
#define RTM_VERSION 5
|
|
+#endif
|
|
|
|
#define RTF_UP 0x1
|
|
#define RTF_GATEWAY 0x2
|