-
-// Send CCP reply
-void sendccp(tunnelidt t, sessionidt s)
-{
- char *q, b[500] = {0};
-
- q = makeppp(b, sizeof(b), NULL, 0, t, s, PPPCCP);
- *q = ConfigReq;
- *(u8 *)(q + 1) = (time_now % 255) + 1; // ID
- *(u16 *)(q + 2) = htons(4); // Length
- LOG_HEX(5, "PPPCCP", q, 4);
- tunnelsend(b, (q - b) + 4 , t);
-}
-