Commit Graph

26884 Commits

Author SHA1 Message Date
Stig Bjørlykke e8689dde3b From Jakub Zawadzki (bug3330):
Fix memleaks in expert_comp_dlg.c.

svn path=/trunk/; revision=27712
2009-03-12 20:38:42 +00:00
Stig Bjørlykke c16347358f From Jakub Zawadzki (bug3330):
Initialize hfinfo->display for FT_PROTOCOL.

svn path=/trunk/; revision=27711
2009-03-12 20:35:43 +00:00
Martin Mathieson 26059e7558 From Anders: Fix a typo
svn path=/trunk/; revision=27710
2009-03-12 10:58:53 +00:00
Stig Bjørlykke 18c5caa3d4 From Jakub Zawadzki:
Use non-formatting functions when appropriate.

svn path=/trunk/; revision=27709
2009-03-12 07:56:42 +00:00
Jaap Keuter 07b7603849 Fix the output header, error reporting. Remove use of deprecated function.
svn path=/trunk/; revision=27708
2009-03-12 07:04:46 +00:00
Gerald Combs 5f1b7e8f27 More Win64 fixes.
svn path=/trunk/; revision=27707
2009-03-11 22:44:06 +00:00
Gerald Combs 4902722ffe More typos.
svn path=/trunk/; revision=27706
2009-03-11 22:16:35 +00:00
Gerald Combs 3208754486 Fix a tpo.
svn path=/trunk/; revision=27705
2009-03-11 22:15:35 +00:00
Gerald Combs cf7fb3ea9c Port rdps from C to Python. This makes it easier to cross-compile
Wireshark on Windows. The GNU toolchain changes have not been tested.

svn path=/trunk/; revision=27704
2009-03-11 22:12:05 +00:00
Gerald Combs 0df88c651e Flex doesn't generate LLP64-compilable output. For the time being don't
use -WX when compiling ascend-scanner.c and k12text.c.

svn path=/trunk/; revision=27703
2009-03-11 18:48:34 +00:00
Gerald Combs a0afeb9cce Convert more PLATFORMs to WIRESHARK_TARGET_PLATFORM.
svn path=/trunk/; revision=27702
2009-03-11 18:23:02 +00:00
Gerald Combs 0d446ae826 Use WIRESHARK_TARGET_PLATFORM instead of PLATFORM.
svn path=/trunk/; revision=27701
2009-03-11 16:13:17 +00:00
Martin Mathieson 7bff5bf554 The abbreviation is "TOHC", not "RoHC".
svn path=/trunk/; revision=27700
2009-03-11 12:04:58 +00:00
Martin Mathieson add4159aca Be careful not to show not-relevant context info.
svn path=/trunk/; revision=27699
2009-03-11 11:17:16 +00:00
Jaap Keuter affc58bea9 From Brian Julin:
Add EnergyWise TLV dissection to CDP dissector.

svn path=/trunk/; revision=27698
2009-03-11 07:54:40 +00:00
Jaap Keuter 6acffc2357 Get the build going again on non-Windows compilers.
svn path=/trunk/; revision=27697
2009-03-11 07:35:43 +00:00
Anders Broman 564846935a From Carlos Mendioroz:
IAX2 calls statistics window ala RTP.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3217

svn path=/trunk/; revision=27696
2009-03-11 06:43:46 +00:00
Anders Broman dd90adfe90 From Michael Lum:
More dissection of IOS parameters in ANSI MAP IOS Invoke/Response Data
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3323

svn path=/trunk/; revision=27695
2009-03-11 06:27:40 +00:00
Anders Broman 63398b72d2 Typo.
svn path=/trunk/; revision=27694
2009-03-11 06:19:35 +00:00
Anders Broman bc366a6917 Prepare IE dissection.
svn path=/trunk/; revision=27693
2009-03-11 06:15:16 +00:00
Anders Broman 4465e9d053 From Michael Lum:
ISUP - added support for Calling Geodetic Location parameter.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3322

svn path=/trunk/; revision=27692
2009-03-11 06:14:18 +00:00
Jaap Keuter 108fe4f53a From Jakub Zawadzki:
Fix small memory leak when running from build directory.

svn path=/trunk/; revision=27691
2009-03-11 06:03:31 +00:00
Gerald Combs 51cf696142 Another iteration of 64-bit-support-by-successive-approximation.
svn path=/trunk/; revision=27690
2009-03-10 17:38:24 +00:00
Bill Meier 71404bd655 Replace use of perror; Also: define various fcns as static
svn path=/trunk/; revision=27689
2009-03-10 17:34:06 +00:00
Gerald Combs 0b7885e04d ng_file_read and SnifferDecompress need to be able to return negative
values, so adjust accordingly.

svn path=/trunk/; revision=27688
2009-03-10 16:33:38 +00:00
Bill Meier 85d40cf8d0 Copy comment from tempfile.h to tempfile.c
svn path=/trunk/; revision=27687
2009-03-10 00:05:15 +00:00
Bill Meier cf930e3092 Fix a (very) minor memory leak; include tempfile.h only if _WIN32
svn path=/trunk/; revision=27686
2009-03-09 23:38:44 +00:00
Gerald Combs 2236109a82 More 64-bit fixes.
svn path=/trunk/; revision=27685
2009-03-09 22:37:55 +00:00
Gerald Combs 40f5a17d46 Convert a bunch of ints to size_t in ngsniffer.c, and make sure file_read
can accept size_t's.

svn path=/trunk/; revision=27684
2009-03-09 22:28:05 +00:00
Gerald Combs cc739fecb0 P64 fixes.
svn path=/trunk/; revision=27683
2009-03-09 21:18:55 +00:00
Gerald Combs e4892bb6c3 Make sure our offset increases, otherwise we'll go into a large loop.
svn path=/trunk/; revision=27682
2009-03-09 20:52:24 +00:00
Bill Meier 0af6e6e23a Enable checkAPIs on gtk/...
(I believe all the errors for gtk/... have been fixed);
 Next up: Add the complete list of deprecated
   GTK APIs to checkAPIs.pl

svn path=/trunk/; revision=27681
2009-03-09 20:29:09 +00:00
Bill Meier 7ce6710735 Replace use of ("prohibited") tmpnam() with code
adapted from print_dlg.c;
Also: fix some bugs wherein an incorrect filename
 could be printed if an error occurred 
 opening/writing/etc an output file.

svn path=/trunk/; revision=27680
2009-03-09 20:19:36 +00:00
Bill Meier e2fe1bdf6f Use "wshprint" (instead of "ethprint") for prefix of temp file name;
Also: add to comment about non-use of tmpnam

svn path=/trunk/; revision=27679
2009-03-09 17:08:38 +00:00
Bill Meier 05f4863c16 Add $Id$
svn path=/trunk/; revision=27678
2009-03-09 15:46:43 +00:00
Bill Meier eb2a2480c5 Fix non-ascii character in file...
svn path=/trunk/; revision=27677
2009-03-09 15:42:37 +00:00
Bill Meier 2adef63689 stat() ==> ws_stat() [to keep checkAPIs happy];
Also: free() ==> g_free();

svn path=/trunk/; revision=27676
2009-03-09 15:10:11 +00:00
Bill Meier 292cc21bb0 Use ws_fopen() [not fopen()] so that a path\filename with
non-ascii charcters will work properly.

svn path=/trunk/; revision=27675
2009-03-09 14:53:22 +00:00
Bill Meier 8a651ee15c Fix File ! Export ! Selected Bytes [Windows] crash which
occurred if the file  path\filename contained non-ascii characters.
  1. Use ws_open() [not open()] so UTF8 path\filenames properly
     converted to UTF16 before the open;
  2. If the open/write/close failed, fix crash due to NULL
     filename pointer used when trying to popup an error message box.
     

svn path=/trunk/; revision=27674
2009-03-09 13:59:41 +00:00
Stig Bjørlykke 783fd3b199 Corrected oid names.
svn path=/trunk/; revision=27673
2009-03-09 13:26:47 +00:00
Stig Bjørlykke 093facc8c6 Corrected oid name.
svn path=/trunk/; revision=27672
2009-03-09 13:25:43 +00:00
Stig Bjørlykke 628f229936 Removed support for FT_UINT64/BASE_NONE/VALS combination.
svn path=/trunk/; revision=27671
2009-03-09 08:45:01 +00:00
Jaap Keuter 118a07bfde From Steve Karg:
Corrected the size of the for-loop counter declaration, added expert info and checksum_[good|bad] flags.
Added the MS/TP checksum bad setting to Checksum color filter.

svn path=/trunk/; revision=27670
2009-03-09 06:04:00 +00:00
Stig Bjørlykke cb94226629 Handle BASE_NONE as BASE_DEC until we get a proper handling of integer
values with BASE_NONE and a value string.

svn path=/trunk/; revision=27669
2009-03-09 00:30:45 +00:00
Stig Bjørlykke d52fd5e311 From Jakub Zawadzki and me (bug 3283):
Added display filter for packets with expert info.

svn path=/trunk/; revision=27668
2009-03-09 00:26:25 +00:00
Stig Bjørlykke de14669997 Added FT_INT*/FT_UINT* with BASE_NONE and a value string as a valid combination.
With this combination we get tree items with only the string match and not
the value, and the filter is created with the string.  This is usefull
when having generated items with wireshark internals as values.

Also rewrote some string constructions.

svn path=/trunk/; revision=27667
2009-03-09 00:24:21 +00:00
Stig Bjørlykke 04dfb4c8b8 Remove a unused g_strdup().
svn path=/trunk/; revision=27666
2009-03-08 22:57:39 +00:00
Stig Bjørlykke cae81ac405 Don't close the UAT dialog when pressing Apply.
Default to the ok button in the UAT edit dialog.
Append a ":" to the title labels in the edit and delete dialogs.

svn path=/trunk/; revision=27665
2009-03-08 22:56:12 +00:00
Stig Bjørlykke 7870c69a91 Handle a empty string as "0" when checking numeric uat values, because
strtol() will set errno on some platforms and not on other platforms.
With this change we don't need to set a value in DLT_USER header size
and trailer size.

Also remove an unused strdup.

svn path=/trunk/; revision=27664
2009-03-08 22:36:43 +00:00
Stig Bjørlykke b4c2f2044a Don't use ep_strndup() to copy the uat protocol name, because the value
can be free'ed before we use it.  Allocate the string like we do for
other strings and copy/free the memory in the appropriate copy_cb/free_cb
functions.  This is only used in the DLT_USER table yet.

svn path=/trunk/; revision=27663
2009-03-08 22:31:28 +00:00