diff options
author | Gerald Combs <gerald@wireshark.org> | 2003-11-18 04:16:28 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2003-11-18 04:16:28 +0000 |
commit | fee0d98c18d15af6abbee95c73862e8339a35791 (patch) | |
tree | 283764bf9f97cf3752ab6310224e3c15a4764c91 /util.h | |
parent | 3b0e3efce423e568d10a2213656c070b30e9a4d0 (diff) |
Check the environment variables SSH_CONNECTION, SSH_CLIENT, REMOTEHOST,
DISPLAY, and CLIENTNAME (in that order). If any of them are set, create
a capture filter that excludes their traffic and set it as the default.
The longer filters should be efficient without being overly long; they
may need some tweaking.
svn path=/trunk/; revision=8994
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* util.h * Utility definitions * - * $Id: util.h,v 1.29 2003/05/23 05:25:19 tpot Exp $ + * $Id: util.h,v 1.30 2003/11/18 04:16:28 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -59,6 +59,9 @@ void compute_timestamp_diff(gint *, gint *, guint32, guint32, guint32, guint32); /* In-place decoding of a base64 string. */ size_t base64_decode(char *s); +/* Create a capture filter for the connection */ +char *get_conn_cfilter(void); + #ifdef __cplusplus } #endif /* __cplusplus */ |