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:
Waldemar Kornewald 2003-09-06 23:58:58 +00:00
parent 283ad63871
commit 5e97ad44cc
2 changed files with 8 additions and 8 deletions

View File

@ -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();

View File

@ -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;
}