summaryrefslogtreecommitdiffstats
path: root/ipv6.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2013-06-02 09:51:30 +0000
committerRoy Marples <roy@marples.name>2013-06-02 09:51:30 +0000
commit22ea2b0deb960aa6e669de1a7b599833fb45de37 (patch)
tree39ed9795dfa6c053c69f1b3ca3962f15baf31e9c /ipv6.c
parent1686ba52ed55eb57be145b94f15a05e0f715513b (diff)
downloaddhcpcd-22ea2b0deb960aa6e669de1a7b599833fb45de37.tar.xz
Automate the assignment of SLA ids if not given for Prefix Delegation.
This means you can just request an ia_pd and let dhcpcd do the rest :)
Diffstat (limited to 'ipv6.c')
-rw-r--r--ipv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipv6.c b/ipv6.c
index 6708d449..e0014ad0 100644
--- a/ipv6.c
+++ b/ipv6.c
@@ -363,10 +363,10 @@ h64_to_in6(uint64_t vhigh, uint64_t vlow, struct in6_addr *add)
int
ipv6_userprefix(
const struct in6_addr *prefix, // prefix from router
- int prefix_len, // length of prefix received
+ short prefix_len, // length of prefix received
uint64_t user_number, // "random" number from user
struct in6_addr *result, // resultant prefix
- int result_len) // desired prefix length
+ short result_len) // desired prefix length
{
uint64_t vh, vl, user_low, user_high;