diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-07-21 21:19:18 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-07-21 21:19:18 +0000 |
commit | 2fb136bc85819ed0a02928324042cd56abc668ac (patch) | |
tree | 3fe6d602f7f99d0756ac81d46a394d150a0e0d32 /editcap.c | |
parent | 16aaaec7ca95dbad83d547d227052c7738540813 (diff) |
Remove the snaplen check added in r37633: the change in r37634 makes it
unnecessary.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38155 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -1444,12 +1444,6 @@ main(int argc, char *argv[]) } } - if((wtap_snapshot_length(wth) != 0) && (phdr->caplen > wtap_snapshot_length(wth))) { - fprintf(stderr, "Warning: packet %d too big for file type, skipping it...\n", count); - count++; - continue; - } - if (!wtap_dump(pdh, phdr, wtap_pseudoheader(wth), buf, &err)) { fprintf(stderr, "editcap: Error writing to %s: %s\n", filename, wtap_strerror(err)); |