netmap: pkt-gen: fix compilation issue
Remove stray characters preventing the source code from being
compiled.
Fixes: 20d684ecc9
("pkt-gen: Allow limiting received packets").
Submitted by: ar_semihalf.com
Reviewed by: vmaffione
Differential Revision: <https://reviews.freebsd.org/D###>
This commit is contained in:
parent
d63e6bc256
commit
950cf4a29a
@ -1844,7 +1844,7 @@ receiver_body(void *data)
|
||||
/* main loop, exit after 1s silence */
|
||||
clock_gettime(CLOCK_REALTIME_PRECISE, &targ->tic);
|
||||
if (targ->g->dev_type == DEV_TAP) {
|
||||
while (!targ->cancel && (n == 0 || targ->ctr.pkts < n)) {) {
|
||||
while (!targ->cancel && (n == 0 || targ->ctr.pkts < n)) {
|
||||
char buf[MAX_BODYSIZE];
|
||||
/* XXX should we poll ? */
|
||||
i = read(targ->g->main_fd, buf, sizeof(buf));
|
||||
|
Loading…
Reference in New Issue
Block a user