summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accel-pppd/ppp/ppp_ipcp.c8
-rw-r--r--accel-pppd/ppp/ppp_ipv6cp.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/accel-pppd/ppp/ppp_ipcp.c b/accel-pppd/ppp/ppp_ipcp.c
index 97b12aba..aee0317d 100644
--- a/accel-pppd/ppp/ppp_ipcp.c
+++ b/accel-pppd/ppp/ppp_ipcp.c
@@ -324,10 +324,10 @@ static void send_conf_nak(struct ppp_fsm_t *fsm)
if (ropt->state == IPCP_OPT_NAK) {
ptr1 = ptr;
ptr += ropt->lopt->h->send_conf_nak(ipcp, 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);
+ }
}
}
diff --git a/accel-pppd/ppp/ppp_ipv6cp.c b/accel-pppd/ppp/ppp_ipv6cp.c
index ad6ff775..a984e43a 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);
+ }
}
}