summaryrefslogtreecommitdiffstats
path: root/src/ipv6.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-08-28 20:05:54 +0100
committerRoy Marples <roy@marples.name>2017-08-28 20:05:54 +0100
commitf76b2d80e774ebbc856314542d46dad6be54af98 (patch)
tree0fdebc02eb72f8f2f9aba334fc0379031db1dd4d /src/ipv6.c
parent1bfc4dabeceed0f749882fc35b33cc0492201c4e (diff)
downloaddhcpcd-f76b2d80e774ebbc856314542d46dad6be54af98.tar.xz
Promote IPv6 dhcpcd address flags to unsignned int to allow expansion.
Diffstat (limited to 'src/ipv6.c')
-rw-r--r--src/ipv6.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipv6.c b/src/ipv6.c
index aeeac482..b45d97df 100644
--- a/src/ipv6.c
+++ b/src/ipv6.c
@@ -862,7 +862,7 @@ ipv6_addaddr(struct ipv6_addr *ia, const struct timespec *now)
int
ipv6_findaddrmatch(const struct ipv6_addr *addr, const struct in6_addr *match,
- short flags)
+ unsigned int flags)
{
if (match == NULL) {
@@ -879,7 +879,7 @@ ipv6_findaddrmatch(const struct ipv6_addr *addr, const struct in6_addr *match,
}
struct ipv6_addr *
-ipv6_findaddr(struct dhcpcd_ctx *ctx, const struct in6_addr *addr, short flags)
+ipv6_findaddr(struct dhcpcd_ctx *ctx, const struct in6_addr *addr, unsigned int flags)
{
struct ipv6_addr *dap, *nap;
@@ -1447,7 +1447,7 @@ ipv6_tryaddlinklocal(struct interface *ifp)
struct ipv6_addr *
ipv6_newaddr(struct interface *ifp, struct in6_addr *addr, uint8_t prefix_len,
- int flags)
+ unsigned int flags)
{
struct ipv6_addr *ia;
char buf[INET6_ADDRSTRLEN];