diff options
Diffstat (limited to 'accel-pppd/ipv6/dhcpv6.c')
-rw-r--r-- | accel-pppd/ipv6/dhcpv6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/ipv6/dhcpv6.c b/accel-pppd/ipv6/dhcpv6.c index 9160a75..5c6d1a5 100644 --- a/accel-pppd/ipv6/dhcpv6.c +++ b/accel-pppd/ipv6/dhcpv6.c @@ -173,7 +173,8 @@ static void insert_dp_routes(struct ap_session *ses, struct dhcpv6_pd *pd) if (ioctl(sock6_fd, SIOCADDRT, &rt6)) { err = errno; inet_ntop(AF_INET6, &p->addr, str1, sizeof(str1)); - log_ppp_error("dhcpv6: route add %s/%i: %s\n", str1, p->prefix_len); + log_ppp_error("dhcpv6: route add %s/%i: %s\n", + str1, p->prefix_len, strerror(err)); } else if (conf_verbose) { inet_ntop(AF_INET6, &p->addr, str1, sizeof(str1)); log_ppp_info2("dhcpv6: route add %s/%i\n", str1, p->prefix_len); |