$NetBSD: patch-aa,v 1.6 2011/04/28 07:27:25 adam Exp $ --- route.c.orig 2010-11-04 19:29:40.000000000 +0000 +++ 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