aboutsummaryrefslogtreecommitdiffstats
path: root/ui/util.c
AgeCommit message (Collapse)AuthorFilesLines
2016-04-08Replace and remove host_ip_af() functionJoão Valverde1-8/+7
Change-Id: I932c156cbc6883d1d63bf0457fd62cfb67c3340e Reviewed-on: https://code.wireshark.org/review/14750 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2015-07-16Add display_is_remote.Gerald Combs1-0/+11
Add a display_is_remote function and use it instead of get_conn_cfilter to check for remoteness. Change-Id: Ia93d113afec36ede55daf7dc8394b2dc0d8c9abf Reviewed-on: https://code.wireshark.org/review/9659 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-07-15Filter UDP packets on port 3389 when capturing from a Remote Desktop sessionPascal Quantin1-1/+1
As reported in https://www.wireshark.org/lists/wireshark-dev/201507/msg00069.html Change-Id: I171b934fd97748f17586ffcee8012fd4c0d156b1 Reviewed-on: https://code.wireshark.org/review/9642 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-01-01Remove unneeded includes from ui folderMartin Mathieson1-1/+0
Change-Id: Ifd1eebff9080cd3867e44e4dcb2d2681370ed60a Reviewed-on: https://code.wireshark.org/review/6128 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-09-26Move the console log handling code to ui/console.[ch].Gerald Combs1-3/+3
Change-Id: I8e554a8e17399d78b0ef29dfb68109a219cd9f1b Reviewed-on: https://code.wireshark.org/review/4294 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-04-15Fix crash on invalid SSH_CONNECTION and SSH_CLIENT valuesPeter Wu1-11/+12
The third parameter to g_strsplit is the maximum number of elements, you cannot just assume that a vector with exactly that number of elements is available. This will crash for example: `SSH_CONNECTION= wireshark`. This patch takes care of that and also fixes a memleak due to missing g_strfreev. To reduce code bloat, return the filter at last so that g_strfreev does not have to be repeated before returning. Note that it still possible for the filter to contain absolute junk since the port and host number is not validated... Change-Id: I4414d2a748f83ded59775fb1e733ce1250cfc553 Reviewed-on: https://code.wireshark.org/review/1100 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2012-10-24Fix indent and add Modelines info for new common ui source file(s)Alexis La Goutte1-210/+223
svn path=/trunk/; revision=45766
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45016
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-25Revert 43481: linking dftest against libui was not the problem.Jeff Morriss1-0/+39
svn path=/trunk/; revision=43488
2012-06-25Move get_args_as_string from ui/util.c into wsutil (maybe not to the bestJeff Morriss1-39/+0
module, but...). This makes dftest no longer dependent on libui, so stop linking against it. svn path=/trunk/; revision=43481
2012-02-17Start moving files to ui/ and ui/cli/Jörg Mayer1-0/+341
svn path=/trunk/; revision=41047