aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2011-07-21 21:19:18 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2011-07-21 21:19:18 +0000
commit2fb136bc85819ed0a02928324042cd56abc668ac (patch)
tree3fe6d602f7f99d0756ac81d46a394d150a0e0d32 /editcap.c
parent16aaaec7ca95dbad83d547d227052c7738540813 (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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/editcap.c b/editcap.c
index 7a3363ad7b..517e94d23b 100644
--- a/editcap.c
+++ b/editcap.c
@@ -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));