diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2019-11-18 04:05:26 +0500 |
---|---|---|
committer | Vladislav Grishenko <themiron@mail.ru> | 2019-11-18 04:05:26 +0500 |
commit | feabf98d002eb2c9ecb80e3bcbe3c9efd4ed382e (patch) | |
tree | a6c02f7da5b4df192a77c3ec3c739447e83662c5 | |
parent | a4fe1168dda707a2836f6d74c7a6610645b20152 (diff) | |
download | accel-ppp-feabf98d002eb2c9ecb80e3bcbe3c9efd4ed382e.tar.gz accel-ppp-feabf98d002eb2c9ecb80e3bcbe3c9efd4ed382e.zip |
ipv6: dhcpv6: fix pd gateway logging
-rw-r--r-- | accel-pppd/ipv6/dhcpv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ipv6/dhcpv6.c b/accel-pppd/ipv6/dhcpv6.c index 6daed667..fc9f4ca1 100644 --- a/accel-pppd/ipv6/dhcpv6.c +++ b/accel-pppd/ipv6/dhcpv6.c @@ -188,7 +188,7 @@ static void insert_dp_routes(struct ap_session *ses, struct dhcpv6_pd *pd, struc } else if (conf_verbose) { inet_ntop(AF_INET6, &p->addr, str1, sizeof(str1)); if (addr) - inet_ntop(AF_INET6, &addr, str2, sizeof(str2)); + inet_ntop(AF_INET6, addr, str2, sizeof(str2)); log_ppp_info2("dhcpv6: route add %s/%i%s%s\n", str1, p->prefix_len, addr ? " via " : "", str2); } |