summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-02-02 11:24:58 +0000
committerRoy Marples <roy@marples.name>2018-02-02 11:24:58 +0000
commitfabcbe2ee6884b9cd235780c2a22b22d691bf7ac (patch)
treec88603ef9b0e5c2b04dcf0c820af0f6b77c92dcb /src/if.h
parent2043e3618791fea97f8f75e20c209a8114527d2f (diff)
downloaddhcpcd-fabcbe2ee6884b9cd235780c2a22b22d691bf7ac.tar.xz
inet6: simplify setup of kernel
Rename if_checkipv6 to if_setup_inet6 so it's more descriptive. simpify code as we don't really care about the result. Restore the prior behavior of not disabling kernel RA handling if dhcpcd is not doing it.
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if.h b/src/if.h
index a1945fe6..602f8e83 100644
--- a/src/if.h
+++ b/src/if.h
@@ -187,7 +187,7 @@ int if_addrflags(const struct interface *, const struct in_addr *,
#endif
#ifdef INET6
-int if_checkipv6(struct dhcpcd_ctx *ctx, const struct interface *);
+void if_setup_inet6(const struct interface *);
#ifdef IPV6_MANAGETEMPADDR
int ip6_use_tempaddr(const char *ifname);
int ip6_temp_preferred_lifetime(const char *ifname);