aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2011-07-21 21:19:18 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2011-07-21 21:19:18 +0000
commit8589a0eb1d4c850d0ea44f4862256946c14c72fa (patch)
tree3fe6d602f7f99d0756ac81d46a394d150a0e0d32 /editcap.c
parentfc3bb80871739c92284173325def418901b16b42 (diff)
Remove the snaplen check added in r37633: the change in r37634 makes it
unnecessary. svn path=/trunk/; revision=38155
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));