Mercurial > hg > dhcpcd
changeset 2425:3593e5c160a7 draft
Fix compile on OpenBSD
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Wed, 23 Apr 2014 11:41:01 +0000 |
| parents | d864514aa424 |
| children | 99ef653c9c42 |
| files | platform-bsd.c |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/platform-bsd.c Wed Apr 23 10:02:13 2014 +0000 +++ b/platform-bsd.c Wed Apr 23 11:41:01 2014 +0000 @@ -196,10 +196,12 @@ } #endif +#ifdef ND6_IFF_IFDISABLED if (del_if_nd6_flag(ifname, ND6_IFF_IFDISABLED) == -1) { syslog(LOG_ERR, "%s: del_if_nd6_flag: %m", ifname); return -1; } +#endif #ifdef ND6_IFF_ACCEPT_RTADV ra = get_if_nd6_flag(ifname, ND6_IFF_ACCEPT_RTADV);
