diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-07-21 21:19:18 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2011-07-21 21:19:18 +0000 |
commit | 8589a0eb1d4c850d0ea44f4862256946c14c72fa (patch) | |
tree | 3fe6d602f7f99d0756ac81d46a394d150a0e0d32 /editcap.c | |
parent | fc3bb80871739c92284173325def418901b16b42 (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.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)); |