summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp/ipcp_opt_ipaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/ppp/ipcp_opt_ipaddr.c')
-rw-r--r--accel-pptpd/ppp/ipcp_opt_ipaddr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pptpd/ppp/ipcp_opt_ipaddr.c b/accel-pptpd/ppp/ipcp_opt_ipaddr.c
index ffba072..b0f662e 100644
--- a/accel-pptpd/ppp/ipcp_opt_ipaddr.c
+++ b/accel-pptpd/ppp/ipcp_opt_ipaddr.c
@@ -122,6 +122,10 @@ ack:
ipcp->ppp->ipaddr = ipaddr_opt->ip->addr;
ipcp->ppp->peer_ipaddr = ipaddr_opt->ip->peer_addr;
+ triton_event_fire(EV_PPP_ACCT_START, ipcp->ppp);
+ if (ipcp->ppp->stop_time)
+ return IPCP_OPT_ACK;
+
triton_event_fire(EV_PPP_PRE_UP, ipcp->ppp);
if (ipcp->ppp->stop_time)
return IPCP_OPT_ACK;