summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp_ipv6cp.c
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2011-09-03 12:28:28 +0400
committerKozlov Dmitry <xeb@mail.ru>2011-09-03 12:28:28 +0400
commit9537aee62295c764ac433d54063caab93cdad5bd (patch)
tree8902cebf27b1d52d62fbc44c296d174ad2dabf70 /accel-pppd/ppp/ppp_ipv6cp.c
parent88bd2cb7316507ac3918291650b5dfdd286523f9 (diff)
downloadaccel-ppp-9537aee62295c764ac433d54063caab93cdad5bd.tar.gz
accel-ppp-9537aee62295c764ac433d54063caab93cdad5bd.zip
ppp: ipcp: fixed bug
Diffstat (limited to 'accel-pppd/ppp/ppp_ipv6cp.c')
-rw-r--r--accel-pppd/ppp/ppp_ipv6cp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/accel-pppd/ppp/ppp_ipv6cp.c b/accel-pppd/ppp/ppp_ipv6cp.c
index ad6ff77..a984e43 100644
--- a/accel-pppd/ppp/ppp_ipv6cp.c
+++ b/accel-pppd/ppp/ppp_ipv6cp.c
@@ -324,10 +324,10 @@ static void send_conf_nak(struct ppp_fsm_t *fsm)
if (ropt->state == IPV6CP_OPT_NAK) {
ptr1 = ptr;
ptr += ropt->lopt->h->send_conf_nak(ipv6cp, ropt->lopt, ptr);
- }
- if (conf_ppp_verbose) {
- log_ppp_info2(" ");
- ropt->lopt->h->print(log_ppp_info2, ropt->lopt, ptr1);
+ if (conf_ppp_verbose) {
+ log_ppp_info2(" ");
+ ropt->lopt->h->print(log_ppp_info2, ropt->lopt, ptr1);
+ }
}
}