diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-10-08 07:07:27 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-10-08 07:07:27 +0200 |
commit | d3c8b3307a8a2423bf905804b55e80c1621ced0d (patch) | |
tree | 8aaa3a749d607c8e71a921067a8acae0ded5f72e /tcpdump.c | |
parent | dbd70580fa548c39813c3e1b45455a3ac4acf25a (diff) | |
download | tcpdump-d3c8b3307a8a2423bf905804b55e80c1621ced0d.tar.gz |
Use MAXIMUM_SNAPLEN macro
Diffstat (limited to 'tcpdump.c')
-rw-r--r-- | tcpdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1408,7 +1408,7 @@ open_interface(const char *device, netdissect_options *ndo, char *ebuf) * specified, default to 256KB. */ if (ndo->ndo_snaplen == 0) - ndo->ndo_snaplen = 262144; + ndo->ndo_snaplen = MAXIMUM_SNAPLEN; pc = pcap_open_live(device, ndo->ndo_snaplen, !pflag, 1000, ebuf); if (pc == NULL) { /* |