Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't treat 65535 as the maximum snapshot length.
Make it 131072, instead; the MTU on the Linux loopback interface, in at least some versions of the kernel, is 65536, and that doesn't count the fake Ethernet header, so we need a value bigger than 65536. We don't want a value that's *too* large, so that it causes attempts to allocate huge amounts of memory, however. This (plus the corresponding change to libpcap) should fix GitHub issue
- Loading branch information