diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-03-31 21:14:24 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-03-31 21:14:24 +0300 |
commit | de834b9203f8d0d24724e328f391fa74129635b1 (patch) | |
tree | b4358b67b811c2bb6a0ce51a99b33d3a2e7bfa3e /accel-pppd | |
parent | b5c9c15c6ce2bb9cd34c31576703a4732f12c147 (diff) | |
download | accel-ppp-de834b9203f8d0d24724e328f391fa74129635b1.tar.gz accel-ppp-de834b9203f8d0d24724e328f391fa74129635b1.zip |
dhcpv6: fix typo
Diffstat (limited to 'accel-pppd')
-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 2047506e..93801ace 100644 --- a/accel-pppd/ipv6/dhcpv6.c +++ b/accel-pppd/ipv6/dhcpv6.c @@ -297,7 +297,7 @@ static void dhcpv6_send_reply(struct dhcpv6_packet *req, struct dhcpv6_pd *pd, i ia_addr->pref_lifetime = htonl(conf_pref_lifetime); ia_addr->valid_lifetime = htonl(conf_valid_lifetime); - if (a->installed) { + if (!a->installed) { if (a->prefix_len > 64) ip6route_add(ses->ifindex, &a->addr, a->prefix_len, 0); else { |