Ethereal-dev: [Ethereal-dev] [PATCH] Support for stdin pipe on Windows

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Gianluca Varenni" <gianluca.varenni@xxxxxxxxx>
Date: Fri, 12 Aug 2005 16:51:09 -0700
Hi all.

This patch (against 0.10.12, file tethereal.c) allows reading packets from stdin (using the option "-i -") under Windows with tethereal.

All the modifications are under #ifdef _WIN32... #endif, however it's better it someone tries to compile it under other OSes.

I think it's possible to support reading from normal Windows named pipes (\\.\pipe\pipename), but I haven't tried to modify tethereal for that (basically, it checks for the "-" string).

If you need the patch against the latest revision on the SVN, please let me know.

Have a nice day
GV

Attachment: tethereal.c.patch
Description: Binary data