Skip to content

Commit

Permalink
pfring/ZeroCopy support
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdavidgraham committed May 27, 2017
1 parent 66eb044 commit 6c9abcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rawsock.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,8 @@ is_pfring_dna(const char *name)
{
if (strlen(name) < 4)
return 0;
if (memcmp(name, "zc:", 3) == 0)
return 1;
if (memcmp(name, "dna", 3) != 0)
return 0;

Expand Down

0 comments on commit 6c9abcb

Please sign in to comment.