Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions etherpuppet.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ enum {
struct sock_filter the_BPF[]= {

{ 0x28, 0, 0, 0x0000000c }, // 00: ldh [12]
{ 0x15, 0, 14, 0x00000800 }, // 01: jeq #0x800 jt 2 jf 27
{ 0x15, 0, 25, 0x00000800 }, // 01: jeq #0x800 jt 2 jf 27
{ 0x30, 0, 0, 0x00000017 }, // 02: ldb [23]
{ 0x15, 0, 11, 0x00000006 }, // 03: jeq #0x6 jt 4 jf 15
{ 0x20, 0, 0, 0x0000001e }, // 04: ld [30]
Expand Down Expand Up @@ -298,7 +298,7 @@ int main(int argc, char *argv[])
sigaddset(&sa.sa_mask, SIGINT);
sa.sa_flags = SA_SIGINFO | SA_ONESHOT | SA_RESTART;

while ((c = getopt(argc, argv, "ms:c:i:I:hdBSMCvuU:")) != -1) {
while ((c = getopt(argc, argv, "ms:c:i:I:hdBSM:CvuU:")) != -1) {
switch (c) {
case 'v':
version();
Expand Down