diff options
Diffstat (limited to 'accel-pppd/ipv6')
-rw-r--r-- | accel-pppd/ipv6/dhcpv6.c | 4 | ||||
-rw-r--r-- | accel-pppd/ipv6/dhcpv6_packet.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/ipv6/dhcpv6.c b/accel-pppd/ipv6/dhcpv6.c index 16d9675..dae9418 100644 --- a/accel-pppd/ipv6/dhcpv6.c +++ b/accel-pppd/ipv6/dhcpv6.c @@ -180,10 +180,10 @@ static void insert_dp_routes(struct ppp_t *ppp, struct dhcpv6_pd *pd) inet_ntop(AF_INET6, &p->addr, str1, sizeof(str1)); inet_ntop(AF_INET6, &rt6.rtmsg_gateway, str2, sizeof(str2)); log_ppp_error("dhcpv6: add route %s/%i via %s: %s\n", str1, p->prefix_len, str2, strerror(err)); - } else { + } else if (conf_verbose) { inet_ntop(AF_INET6, &p->addr, str1, sizeof(str1)); inet_ntop(AF_INET6, &rt6.rtmsg_gateway, str2, sizeof(str2)); - log_ppp_info2("dhcpv6: add route %s/%i via %s\n", str1, p->prefix_len, str2); + log_ppp_info2("dhcpv6: route add %s/%i via %s\n", str1, p->prefix_len, str2); } } diff --git a/accel-pppd/ipv6/dhcpv6_packet.c b/accel-pppd/ipv6/dhcpv6_packet.c index 4c36161..8decc8b 100644 --- a/accel-pppd/ipv6/dhcpv6_packet.c +++ b/accel-pppd/ipv6/dhcpv6_packet.c @@ -286,7 +286,7 @@ void dhcpv6_packet_print(struct dhcpv6_packet *pkt, void (*print)(const char *fm "Solicit", "Advertise", "Request", - "Confirt", + "Confirm", "Renew", "Rebind", "Reply", |