On Mon, May 19, 2003 at 10:32:44PM +0100, Martin Warnes wrote:

> Perhaps it would be wise to back up the patch till I can come up with
> a patch that better identifies the different traces. 

Wise, perhaps, but also a pain, given all the man pages I updated.

"vms_check_file_type()" looks as if it could be simplified by using
"strstr()".  Once that's done, it'd probably be straightforward to have
to check for any of

        "TCPIPtrace "
        "TCPtrace "
        "UCX INTERnet trace "

Based on which of those it sees, it could also save an indication of
whether it's TCPIPtrace or UCX$TRACE (add a "vms_t" structure to
"wtap-int.h", with an "is_ucxtrace" gboolean; add it to the "capture"
uniion in "struct wtap"; set it appropriately), and use that to
determine whether to use the TCPIPtrace or the UCX$TRACE format string
to scan the packet lines.

Reply via email to