summaryrefslogtreecommitdiffstats
path: root/src/ipv6nd.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/ipv6nd.c
parent1bfc4dabeceed0f749882fc35b33cc0492201c4e (diff)
downloaddhcpcd-f76b2d80e774ebbc856314542d46dad6be54af98.tar.xz
Promote IPv6 dhcpcd address flags to unsignned int to allow expansion.
Diffstat (limited to 'src/ipv6nd.c')
-rw-r--r--src/ipv6nd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c
index cb683ca7..24b1cf55 100644
--- a/src/ipv6nd.c
+++ b/src/ipv6nd.c
@@ -404,7 +404,7 @@ ipv6nd_neighbour(struct dhcpcd_ctx *ctx, struct in6_addr *addr, int flags)
const struct ipv6_addr *
ipv6nd_iffindaddr(const struct interface *ifp, const struct in6_addr *addr,
- short flags)
+ unsigned int flags)
{
struct ra *rap;
struct ipv6_addr *ap;
@@ -425,7 +425,7 @@ ipv6nd_iffindaddr(const struct interface *ifp, const struct in6_addr *addr,
struct ipv6_addr *
ipv6nd_findaddr(struct dhcpcd_ctx *ctx, const struct in6_addr *addr,
- short flags)
+ unsigned int flags)
{
struct ra *rap;
struct ipv6_addr *ap;
@@ -941,7 +941,7 @@ ipv6nd_handlera(struct dhcpcd_ctx *ctx, struct interface *ifp,
IN6_ARE_ADDR_EQUAL(&ap->prefix, &pi_prefix))
break;
if (ap == NULL) {
- short flags;
+ unsigned int flags;
if (!(pi.nd_opt_pi_flags_reserved &
ND_OPT_PI_FLAG_AUTO) &&