diff options
-rw-r--r-- | accel-pptpd/ppp/ppp_ipcp.c | 2 | ||||
-rw-r--r-- | accel-pptpd/ppp/ppp_lcp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/accel-pptpd/ppp/ppp_ipcp.c b/accel-pptpd/ppp/ppp_ipcp.c index fe5b39d6..616714ce 100644 --- a/accel-pptpd/ppp/ppp_ipcp.c +++ b/accel-pptpd/ppp/ppp_ipcp.c @@ -454,7 +454,7 @@ static int ipcp_recv_conf_nak(struct ppp_ipcp_t *ipcp, uint8_t *data, int size) log_ppp_info(" "); lopt->h->print(log_ppp_info,lopt,data); } - if (lopt->h->recv_conf_nak(ipcp, lopt, data)) + if (lopt->h->recv_conf_nak && lopt->h->recv_conf_nak(ipcp, lopt, data)) res =- 1; break; } diff --git a/accel-pptpd/ppp/ppp_lcp.c b/accel-pptpd/ppp/ppp_lcp.c index bd04f541..0ea05ba1 100644 --- a/accel-pptpd/ppp/ppp_lcp.c +++ b/accel-pptpd/ppp/ppp_lcp.c @@ -495,7 +495,7 @@ static int lcp_recv_conf_nak(struct ppp_lcp_t *lcp, uint8_t *data, int size) log_ppp_info(" "); lopt->h->print(log_ppp_info, lopt, data); } - if (lopt->h->recv_conf_nak(lcp, lopt, data)) + if (lopt->h->recv_conf_nak && lopt->h->recv_conf_nak(lcp, lopt, data)) res = -1; break; } |