diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-12-16 17:53:44 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-12-16 17:53:44 +0000 |
commit | 5f8d46305a894bcb4578d0350b3b9017701595fa (patch) | |
tree | 2c5c7324632dab3ede4bf32222a41366b6753804 /util.c | |
parent | 2609b880d5b36d889ea1cbba832e0ca403692520 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16826 f5534014-38df-0310-8fa8-9805f1628bb7
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 ""; } |