NetworkPkg/Mtftp6Dxe: Fix various typos
Fix various typos in documentation, comments and strings. Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Maciej Rabeda <maciej.rabeda@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-46-philmd@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
68ddad3f60
commit
f6c8bbbe92
@@ -742,7 +742,7 @@ Mtftp6RrqInput (
|
||||
//
|
||||
// For the subsequent exchange of requests, reconfigure the udpio as
|
||||
// (serverip, serverport, localip, localport).
|
||||
// Ususally, the client set serverport as 0 to receive and reset it
|
||||
// Usually, the client set serverport as 0 to receive and reset it
|
||||
// once the first packet arrives to send ack.
|
||||
//
|
||||
Instance->ServerDataPort = UdpEpt->RemotePort;
|
||||
@@ -851,7 +851,7 @@ Mtftp6RrqInput (
|
||||
|
||||
default:
|
||||
//
|
||||
// Drop and return eror if received error message.
|
||||
// Drop and return error if received error message.
|
||||
//
|
||||
Status = EFI_TFTP_ERROR;
|
||||
break;
|
||||
@@ -896,7 +896,7 @@ ON_EXIT:
|
||||
|
||||
/**
|
||||
Start the Mtftp6 instance to download. It first initializes some
|
||||
of the internal states, then builds and sends an RRQ reqeuest packet.
|
||||
of the internal states, then builds and sends an RRQ request packet.
|
||||
Finally, it starts receive for the downloading.
|
||||
|
||||
@param[in] Instance The pointer to the Mtftp6 instance.
|
||||
@@ -917,7 +917,7 @@ Mtftp6RrqStart (
|
||||
//
|
||||
// The valid block number range are [1, 0xffff]. For example:
|
||||
// the client sends an RRQ request to the server, the server
|
||||
// transfers the DATA1 block. If option negoitation is ongoing,
|
||||
// transfers the DATA1 block. If option negotiation is ongoing,
|
||||
// the server will send back an OACK, then client will send ACK0.
|
||||
//
|
||||
Status = Mtftp6InitBlockRange (&Instance->BlkList, 1, 0xffff);
|
||||
|
Reference in New Issue
Block a user