diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-12-16 17:53:44 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-12-16 17:53:44 +0000 |
commit | 18abcfc988606c54030ec4c926daef241fbb5a61 (patch) | |
tree | 2c5c7324632dab3ede4bf32222a41366b6753804 /util.c | |
parent | 0beb951745462a1095eca992b194707b5b75983e (diff) |
If "CLIENTNAME" is set (which indicates that we're using RDP) use
"not tcp port 3389" instead of "not ip host $CLIENTNAME", since it
seems to be more reliable.
Make sure we remove dumpcap.obj when we clean.
This also tests the content-type "text/plain; charset=utf-8" for commit
messages. Maybe Stig B's name will show up correctly now.
svn path=/trunk/; revision=16826
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -296,10 +296,8 @@ const gchar *get_conn_cfilter(void) { return filter_str->str; } } else if ((env = getenv("CLIENTNAME")) != NULL) { - if (g_strcasecmp("console", env) != 0) { - g_string_sprintf(filter_str, "not %s host %s", host_ip_af(env), env); - return filter_str->str; - } + g_string_sprintf(filter_str, "not tcp port 3389"); + return filter_str->str; } return ""; } |