Improve DCHP handling by removing the yiaddr field from outgoing DHCP packets and adding the broadcast bit in the flags field.

Correct the check to ensure the application network event hook is not called when the first network down event is sent.
Add in defaults for the Nabto task stack and priority.
This commit is contained in:
Richard Barry 2013-10-07 11:49:17 +00:00
parent 7ec4773131
commit be44f8aaa7
5 changed files with 35 additions and 6 deletions

View file

@ -203,6 +203,10 @@ pcap_if_t *pxAllNetworkInterfaces;
vNetworkBufferRelease( pxNetworkBuffer );
iptraceETHERNET_RX_EVENT_LOST();
}
else
{
iptraceNETWORK_INTERFACE_RECEIVE();
}
}
else
{
@ -436,6 +440,10 @@ eFrameProcessingResult_t eResult;
vNetworkBufferRelease( pxNetworkBuffer );
iptraceETHERNET_RX_EVENT_LOST();
}
else
{
iptraceNETWORK_INTERFACE_RECEIVE();
}
}
else
{