aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-12-16 17:53:44 +0000
committerGerald Combs <gerald@wireshark.org>2005-12-16 17:53:44 +0000
commit18abcfc988606c54030ec4c926daef241fbb5a61 (patch)
tree2c5c7324632dab3ede4bf32222a41366b6753804 /util.c
parent0beb951745462a1095eca992b194707b5b75983e (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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/util.c b/util.c
index a17cc5ad5e..c2ce7cc192 100644
--- a/util.c
+++ b/util.c
@@ -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 "";
}