diff options
| author | Roy Marples <roy@marples.name> | 2017-08-28 20:05:54 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-08-28 20:05:54 +0100 |
| commit | f76b2d80e774ebbc856314542d46dad6be54af98 (patch) | |
| tree | 0fdebc02eb72f8f2f9aba334fc0379031db1dd4d /src/ipv6.c | |
| parent | 1bfc4dabeceed0f749882fc35b33cc0492201c4e (diff) | |
| download | dhcpcd-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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]; |
