From: Roy Marples Date: Sat, 28 Feb 2015 17:41:24 +0000 (+0000) Subject: Fix IPv6 routing on OpenBSD and document includes and defines better. X-Git-Tag: v6.8.0~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44b367ba8c4f5cabfb3350cd5e820ec7dfcc0b93;p=thirdparty%2Fdhcpcd.git Fix IPv6 routing on OpenBSD and document includes and defines better. --- diff --git a/if.h b/if.h index 9f2aac09..e33b7874 100644 --- a/if.h +++ b/if.h @@ -28,10 +28,10 @@ #ifndef INTERFACE_H #define INTERFACE_H -#include +#include /* for SIOCGIFPRIORITY */ #include -//#include +#include /* for RTM_ADD et all */ #include /* Some systems have route metrics */ @@ -100,6 +100,9 @@ int if_vimaster(const char *); int if_openlinksocket(void); int if_managelink(struct dhcpcd_ctx *); +/* dhcpcd uses the same routing flags as BSD. + * If the platform doesn't use these flags, + * map them in the platform interace file. */ #ifndef RTM_ADD #define RTM_ADD 0x1 /* Add Route */ #define RTM_DELETE 0x2 /* Delete Route */