Increase max frame size in pcap.h

This commit is contained in:
Neale Pickett 2014-06-10 10:40:51 -06:00
parent d0994e4ed8
commit 51e008e903
2 changed files with 3 additions and 3 deletions

View File

@ -10,8 +10,8 @@ TARGETS += unhex
all: $(TARGETS) all: $(TARGETS)
nstall: $(TARGETS) install: $(TARGETS)
install -d $(DESTDIR)$(PREFIX) install -d $(DESTDIR)$(PREFIX)/bin
install $(TARGETS) $(DESTDIR)$(PREFIX)/bin install $(TARGETS) $(DESTDIR)$(PREFIX)/bin
pmerge: pmerge.o pcap.o pmerge: pmerge.o pcap.o

2
pcap.h
View File

@ -6,7 +6,7 @@
#include <stdbool.h> #include <stdbool.h>
#define MAGIC 0xa1b2c3d4 #define MAGIC 0xa1b2c3d4
#define MAXFRAME 9000 #define MAXFRAME 65535
/* /*
* Described at http://www.tcpdump.org/linktypes.html * Described at http://www.tcpdump.org/linktypes.html