Commit Graph

31748 Commits

Author SHA1 Message Date
Guy Harris 927b7da346 Have abs_time_to_str() and abs_time_to_str_secs() take an additional
argument indicating whether to include the time zone in the string.  If
we're constructing a display filter, don't include the time zone,
otherwise do.  Fixes bug 4756.

svn path=/trunk/; revision=32913
2010-05-21 06:33:25 +00:00
Bill Meier 4dcaf67f37 Fix regression: unable to enter values in Filter Expression window unless value list present.
(Regression introduced in SVN #30918).
Code reworked slightly for clarification.

svn path=/trunk/; revision=32912
2010-05-20 23:49:57 +00:00
Jaap Keuter 1a3fd99542 Fix for bug 4778:
Check that the widget pointer is still present.

svn path=/trunk/; revision=32911
2010-05-20 19:03:13 +00:00
Jaap Keuter 39bd052f7b From Hadar Shoham:
Add support to AP request option reserved bit.

svn path=/trunk/; revision=32910
2010-05-20 18:34:38 +00:00
Stig Bjørlykke aa6dc5e692 Fixed warning "Field width should have type 'int'".
svn path=/trunk/; revision=32909
2010-05-20 14:53:29 +00:00
Stig Bjørlykke f945be91f6 Rewrote to avoid "More data arguments than '%' conversions" warning.
svn path=/trunk/; revision=32908
2010-05-20 11:56:58 +00:00
Stig Bjørlykke 7773d1a2a6 Rewrote to avoid "More data arguments than '%' conversions" warning.
svn path=/trunk/; revision=32907
2010-05-20 11:51:24 +00:00
Guy Harris 9d819eb925 Don't assume that certain address columns are always constant strings -
they're no more guaranteed to be constant strings than the columns we're
*not* assuming are constant strings.  Fixes bug 4771.

svn path=/trunk/; revision=32906
2010-05-20 07:15:27 +00:00
Guy Harris 0c40b92518 Detect clang and llvm-gcc.
svn path=/trunk/; revision=32905
2010-05-19 23:39:45 +00:00
Guy Harris 72ed0558f2 Don't have -M affect -v yet; if we end up, for example, having dumpcap
being the only program that needs to be linked with *pcap, that's when
we'd want to fetch that information, but there might be other libraries
(e.g., the POSIX capabilities library) that it might be linked with but
that programs that use it aren't linked with.

Don't commit to the output formats of -M, as they are, as noted, subject
to change from release to release.

svn path=/trunk/; revision=32904
2010-05-19 23:27:35 +00:00
Gerasimos Dimitriadis df3a43e0e5 Remove debugging printf from match_strval_ext_init()
svn path=/trunk/; revision=32903
2010-05-19 22:09:07 +00:00
Martin Mathieson f40e47b4c0 Remove VALS cast as discussed on dev mailing list.
svn path=/trunk/; revision=32902
2010-05-19 21:33:01 +00:00
Jeff Morriss bd215f90bc Followup to rev 23668: ansi_a_ios501_elem_1_strings[] and
ansi_a_ios401_elem_1_strings[] are different lengths so use 'ansi_a_elem_1_max'
to know how far we can look into the array (instead of ANSI_A_E_NONE).
Since that variable points to the end of the array--a NULL entry--and since we
don't want to pass a NULL string pointer to proto_tree_add*(), ensure that
we only look at the last valid entry.

Also remove check_col() calls and reindent a bit.

svn path=/trunk/; revision=32901
2010-05-19 20:42:53 +00:00
Jaap Keuter 7e44a40238 From Lars Ruoff:
Updated and added some sanity checks to Alcatel-Lucent DHCP vendor specific options.

svn path=/trunk/; revision=32900
2010-05-19 18:09:33 +00:00
Jörg Mayer 76cee2c2a1 Commit 32350 replaced the self written FindZ.cmake by cmakes
FindZLIB.cmake. What it didn't do was do adapt the magic names
that are derived from the name of the FindXXX.cmake script.
Fix that. Also add $Id$ to the FindZLIB.cmake script.

svn path=/trunk/; revision=32899
2010-05-19 13:05:35 +00:00
Bill Meier 10fb76ce44 Add svn 'keywords' and 'eol-style' properties
svn path=/trunk/; revision=32898
2010-05-19 12:44:57 +00:00
Kovarththanan Rajaratnam 52d4ae5b8d Add and use BTOBEX_CODE_VALS_MASK to avoid hardcoding values
svn path=/trunk/; revision=32897
2010-05-19 08:47:10 +00:00
Kovarththanan Rajaratnam fe48b90849 Remove a couple of check_col()
svn path=/trunk/; revision=32896
2010-05-19 08:37:29 +00:00
Kovarththanan Rajaratnam 855bafe183 Use newly introduced BTOBEX_CODE_VALS_CONNECT define
svn path=/trunk/; revision=32895
2010-05-19 08:23:53 +00:00
Kovarththanan Rajaratnam 9537eb450e Introduce defines to avoid hardcoding values
svn path=/trunk/; revision=32894
2010-05-19 08:19:41 +00:00
Kovarththanan Rajaratnam 2bde45d2f5 Tighten scope of code variable
svn path=/trunk/; revision=32893
2010-05-19 08:13:26 +00:00
Stig Bjørlykke caa82016d7 Added a preference to display data as text.
This fixes bug 4603.

svn path=/trunk/; revision=32892
2010-05-19 07:21:55 +00:00
Kovarththanan Rajaratnam 4440bae841 Remove superfluous NULL assignment
svn path=/trunk/; revision=32891
2010-05-19 06:45:57 +00:00
Kovarththanan Rajaratnam 1b7aa4bc16 Remove weird assignment to pinfo->private_data
svn path=/trunk/; revision=32890
2010-05-19 06:28:48 +00:00
Kovarththanan Rajaratnam af0f596637 Remove references to ppp_handle (unused)
svn path=/trunk/; revision=32889
2010-05-19 06:27:37 +00:00
Kovarththanan Rajaratnam 485dca1535 Pass along btrfcomm_data_t to higher layer protocols
svn path=/trunk/; revision=32888
2010-05-19 06:26:02 +00:00
Kovarththanan Rajaratnam 9bd8195d0e Align defines
svn path=/trunk/; revision=32887
2010-05-19 06:01:29 +00:00
Guy Harris b4f61dfe67 Fix indentation.
svn path=/trunk/; revision=32886
2010-05-19 03:50:09 +00:00
Guy Harris bcba2a44e3 Fix comments.
svn path=/trunk/; revision=32885
2010-05-19 03:49:52 +00:00
Guy Harris 15e546e65d If the user asks for the Capture -> Interfaces dialog, and there are no
network interfaces, pop up a dialog saying that, rather than popping up
an empty Interfaces dialog.

svn path=/trunk/; revision=32884
2010-05-19 03:05:40 +00:00
Guy Harris c1e651802e -S doesn't require an interface, either.
svn path=/trunk/; revision=32883
2010-05-19 02:55:05 +00:00
Guy Harris ccac912244 Regularize indentation a bit.
Let pcap_statustostr()'s result suffice for most PCAP_ERROR_ errors. 
Don't mention the capture device name multiple times in the error
message.  Treat positive returns from pcap_can_set_rfmon() other than 0
or 1 as weird returns, not error returns.

svn path=/trunk/; revision=32882
2010-05-19 02:47:16 +00:00
Ronnie Sahlberg 415f314c53 iscsi also has a system port (860) registered in addition to the more common
port (3260).

add knowledge about the registered system port for iscsi to the heuristics
so we automatically detect when iscsi is transported over this optional port.


svn path=/trunk/; revision=32881
2010-05-18 22:00:17 +00:00
Jeff Morriss 1eeb3442b2 Use val_to_str() instead of match_strval() to ensure we get a non-NULL result to pass to proto_tree_add*().
svn path=/trunk/; revision=32880
2010-05-18 16:05:37 +00:00
Jeff Morriss 7575b52df7 Add epan/dissectors/dcerpc/ and epan/dissectors/pidl/ to the source distribution
svn path=/trunk/; revision=32879
2010-05-18 15:58:49 +00:00
Jeff Morriss 3dce901718 Avoid passing a NULL pointer to a string to proto_tree_add_uint_format()
svn path=/trunk/; revision=32878
2010-05-18 14:17:11 +00:00
Jeff Morriss e031f88f0b Use val_to_str() instead of match_strval() to ensure we get a non-NULL result.
svn path=/trunk/; revision=32877
2010-05-18 14:04:31 +00:00
Bill Meier 71114aac39 Restore blank line before "and by" removed in SVN #32864;
Also: Line up EMail address text for slava.

svn path=/trunk/; revision=32876
2010-05-18 14:01:59 +00:00
Jeff Morriss 01e1da16a9 Add Slava as per https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4741#c4
svn path=/trunk/; revision=32875
2010-05-18 13:39:22 +00:00
Kovarththanan Rajaratnam 93bc47d26a Add FIXME
svn path=/trunk/; revision=32874
2010-05-18 11:44:32 +00:00
Kovarththanan Rajaratnam bb2340b232 Remove NULL pointer guard in defragment_init()
svn path=/trunk/; revision=32873
2010-05-18 10:49:09 +00:00
Kovarththanan Rajaratnam ea6d8edcce Remove a couple of superfluous NULL assignments
svn path=/trunk/; revision=32872
2010-05-18 10:45:39 +00:00
Kovarththanan Rajaratnam 52122ece9c Remove a couple of check_col()
svn path=/trunk/; revision=32871
2010-05-18 10:43:36 +00:00
Kovarththanan Rajaratnam f572eff156 Parse everything as OBEX (for now).
svn path=/trunk/; revision=32870
2010-05-18 10:39:12 +00:00
Stig Bjørlykke 223eaa97c3 Add proper item for "User encapsulation not handled" to be able to
second-click the entry to edit preferences.

svn path=/trunk/; revision=32869
2010-05-18 09:01:08 +00:00
Kovarththanan Rajaratnam 05dbecb7ca Remove #if 0 code
svn path=/trunk/; revision=32868
2010-05-18 08:29:19 +00:00
Kovarththanan Rajaratnam 82a7293640 Handle fgets() error path
svn path=/trunk/; revision=32867
2010-05-18 08:22:42 +00:00
Kovarththanan Rajaratnam 62a20b9b19 Mark defragment_init() as an init routine
svn path=/trunk/; revision=32866
2010-05-18 08:08:08 +00:00
Kovarththanan Rajaratnam 100e30939a Fix several GCC build issues
svn path=/trunk/; revision=32865
2010-05-18 07:49:55 +00:00
Kovarththanan Rajaratnam 578257873a Add Allan M. Madsen
svn path=/trunk/; revision=32864
2010-05-18 07:37:37 +00:00