In a dump_open routine, you don't need to seek to the beginning of the
authorGuy Harris <guy@alum.mit.edu>
Thu, 21 Apr 2011 18:33:20 +0000 (18:33 -0000)
committerGuy Harris <guy@alum.mit.edu>
Thu, 21 Apr 2011 18:33:20 +0000 (18:33 -0000)
commit3edd2b5b0d18583cad815605b584b4abfb434e77
tree89ebd48c0467f3da9bb32866efb873ff68cfe387
parent14232048bc35f708fc017683964b665812ad435e
In a dump_open routine, you don't need to seek to the beginning of the
file before doing any writes - it starts out at the beginning of the
file.  This means that you *can* write a Network Instruments capture
file to a pipe, or write it out in compressed form, now that its
dump_open routine no longer seeks.

NetXRay format and K12 binary format, however, *do* require a seek when
writing them.

svn path=/trunk/; revision=36776
wiretap/file_access.c
wiretap/network_instruments.c