netmap: minor documentation fix

Also update date of pkt-gen.8 (not done in r366387).

Submitted by:	milosz.kaniewski@gmail.com
MFC after:	3 days
This commit is contained in:
vmaffione 2020-10-03 09:36:33 +00:00
parent 4433808005
commit aca0fbdaab
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd February 6, 2020
.Dd October 3, 2020
.Dt NETMAP 4
.Os
.Sh NAME
@ -1052,7 +1052,7 @@ void receiver(void)
for (;;) {
poll(&fds, 1, -1);
while ( (buf = nm_nextpkt(d, &h)) )
consume_pkt(buf, h->len);
consume_pkt(buf, h.len);
}
nm_close(d);
}

View File

@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd October 31, 2018
.Dd October 3, 2020
.Dt PKT-GEN 8
.Os
.Sh NAME