Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
svlobanov committed Aug 27, 2024
1 parent 6e44fe7 commit 8808af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accel-pppd/ctrl/pptp/pptp.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ static int pptp_connect(struct triton_md_handler_t *h)
conn->ctrl.calling_station_id = _malloc(17);
conn->ctrl.called_station_id = _malloc(17);
u_inet_ntoa(addr.sin_addr.s_addr, conn->ctrl.calling_station_id);
getsockname(sock, &addr, &size);
getsockname(sock, (struct sockaddr*)&addr, &size);
u_inet_ntoa(addr.sin_addr.s_addr, conn->ctrl.called_station_id);

ppp_init(&conn->ppp);
Expand Down

0 comments on commit 8808af6

Please sign in to comment.