Forgot to test if it builds. :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4520 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
283ad63871
commit
5e97ad44cc
@ -135,12 +135,12 @@ class PPPStateMachine {
|
||||
void InitializeRestartCount();
|
||||
void ZeroRestartCount();
|
||||
bool SendConfigureRequest();
|
||||
void SendConfigureAck(struct mbuf *packet);
|
||||
void SendConfigureNak(struct mbuf *packet);
|
||||
void SendTerminateRequest();
|
||||
void SendTerminateAck(struct mbuf *request = NULL);
|
||||
void SendCodeReject(struct mbuf *packet, uint16 protocol, uint8 code);
|
||||
void SendEchoReply(struct mbuf *request);
|
||||
bool SendConfigureAck(struct mbuf *packet);
|
||||
bool SendConfigureNak(struct mbuf *packet);
|
||||
bool SendTerminateRequest();
|
||||
bool SendTerminateAck(struct mbuf *request = NULL);
|
||||
bool SendCodeReject(struct mbuf *packet, uint16 protocol, uint8 code);
|
||||
bool SendEchoReply(struct mbuf *request);
|
||||
|
||||
void BringHandlersUp();
|
||||
uint32 BringPhaseUp();
|
||||
|
@ -132,7 +132,7 @@ PPPStateMachine::SendEchoRequest()
|
||||
request->length = htons(packet->m_len);
|
||||
memcpy(request->data, &fMagicNumber, sizeof(fMagicNumber));
|
||||
|
||||
return LCP.Send(packet) == B_OK;
|
||||
return LCP().Send(packet) == B_OK;
|
||||
}
|
||||
|
||||
|
||||
@ -156,7 +156,7 @@ PPPStateMachine::SendDiscardRequest()
|
||||
request->length = htons(packet->m_len);
|
||||
memcpy(request->data, &fMagicNumber, sizeof(fMagicNumber));
|
||||
|
||||
return LCP.Send(packet) == B_OK;
|
||||
return LCP().Send(packet) == B_OK;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user