aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-07-18 12:45:34 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2019-07-18 12:45:34 +0000
commitcdf0d0bf9aafab88cf1148f74a1e245775eb40d3 (patch)
tree065c0c5b9b6d5ba2cb929fda5079e6a0a5fbd21c
parentDo not hijack PNP notifier (diff)
downloadwintun-cdf0d0bf9aafab88cf1148f74a1e245775eb40d3.tar.xz
wintun-cdf0d0bf9aafab88cf1148f74a1e245775eb40d3.zip
Fix awkward comment style
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--wintun.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wintun.c b/wintun.c
index afdb51b..dc16ca4 100644
--- a/wintun.c
+++ b/wintun.c
@@ -324,9 +324,9 @@ TunSendNetBufferLists(
void *NbData = NdisGetDataBuffer(Nb, PacketSize, Packet->Data, 1, 0);
if (!NbData)
{
- NdisZeroMemory(
- Packet->Data, PacketSize); /* The space for the packet has already been allocated in the ring. Write
- null-packet rather than fixing the gap in the ring. */
+ /* The space for the packet has already been allocated in the ring. Write a zero-packet rather than
+ * fixing the gap in the ring. */
+ NdisZeroMemory(Packet->Data, PacketSize);
DiscardedPacketsCount++;
}
else