Commit Graph

23981 Commits

Author SHA1 Message Date
Jakub Zawadzki 5fa7d37e37 Fix epan building with undefined HAVE_PLUGINS
+ guard prototypes with HAVE_PLUGINS in .h files to get errors before linking.

svn path=/trunk/; revision=53909
2013-12-10 19:13:09 +00:00
Anders Broman 25ce6c262e - Forward declaration of register functions.
svn path=/trunk/; revision=53908
2013-12-10 17:41:57 +00:00
Irene Rüngeler 706c629ae0 Add uat preferences to SCTP (QT only).
svn path=/trunk/; revision=53907
2013-12-10 15:39:16 +00:00
Irene Rüngeler 85d84776b8 Use PT_TXTMOD_NONE for columns that should not be editable.
svn path=/trunk/; revision=53906
2013-12-10 15:33:07 +00:00
Chris Maynard 939e04e74b In dissect_ldss_transfer(), reject the packet if data is NULL. Fix some typos.
svn path=/trunk/; revision=53905
2013-12-10 15:31:29 +00:00
Martin Kaiser ff42551d71 comment out unused functions
fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9538
reported by Yaniv Kaul

svn path=/trunk/; revision=53902
2013-12-10 10:52:29 +00:00
Anders Broman acf2fed688 - Forward declaration of register functions.
svn path=/trunk/; revision=53901
2013-12-10 06:01:16 +00:00
Chris Maynard af4cbd00a0 Remove _U_ from dissect_wol's and dissect_wolheur's data argument; they both pass it to dissect_wol_pdu, which doesn't actually use it, but technically they do.
svn path=/trunk/; revision=53900
2013-12-10 03:56:51 +00:00
Chris Maynard 6e37321042 Reject the packet if data is NULL.
svn path=/trunk/; revision=53899
2013-12-10 03:33:50 +00:00
Chris Maynard c5e358116c Reject the packet if data is NULL.
svn path=/trunk/; revision=53898
2013-12-10 03:25:04 +00:00
Chris Maynard ca174aedf2 Remove _U_ from dissect_carp's data argument; it's passed to test_carp_packet(), which doesn't actually use it, but dissect_carp technically does.
svn path=/trunk/; revision=53897
2013-12-10 03:11:34 +00:00
Chris Maynard babc735c3a Reject the packet if data is NULL. For now, leave the DISSECTOR_ASSERT(rose_ctx_tmp) since get_rose_ctx() also checks the signature, which might be invalid even if data is not NULL.
svn path=/trunk/; revision=53896
2013-12-09 22:38:42 +00:00
Chris Maynard 79fa0d0a3f Reject the packet if data is NULL without doing anything else.
Note: We *might* want to do _something_ but that _something_ should be well-defined and consistent across all dissectors.  Previously, some dissectors called proto_tree_add_text() to add some error message text to the tree, while others called DISSECTOR_ASSERT().

svn path=/trunk/; revision=53895
2013-12-09 22:23:44 +00:00
Chris Maynard e3c369eb67 Minor whitespace changes and to keep the GNU-syle indentation scheme consistent.
svn path=/trunk/; revision=53894
2013-12-09 21:33:54 +00:00
Chris Maynard aba06b568d Reject the packet if data is NULL.
svn path=/trunk/; revision=53893
2013-12-09 21:20:52 +00:00
Martin Kaiser b369351d2f ignore empty texts
svn path=/trunk/; revision=53892
2013-12-09 21:14:45 +00:00
Martin Kaiser 17cb36a233 use the DVB-SI string hadling for the short event descriptor
svn path=/trunk/; revision=53891
2013-12-09 21:06:58 +00:00
Martin Kaiser 3dbf837040 add editor modelines
svn path=/trunk/; revision=53890
2013-12-09 20:58:57 +00:00
Chris Maynard cdd716e32f Reject the packet if data is NULL.
svn path=/trunk/; revision=53889
2013-12-09 20:55:49 +00:00
Martin Kaiser 5422134e86 TABs -> spaces
add editor modelines

svn path=/trunk/; revision=53888
2013-12-09 20:52:39 +00:00
Chris Maynard e383ad9b18 From packet-ua, pass a pointer to direction rather than direction itself. In packet-ua3g, reject the packet if data is NULL.
svn path=/trunk/; revision=53887
2013-12-09 20:51:32 +00:00
Martin Kaiser cb1cb946d3 From Jakub
support DVB-SI character tables (EN 300 468) in a generic way

From me
move things to charsets.c/.h
distinguish between single and multi byte encoding for some tables
(so that the highlighted bytes match the displayed value)
no character table byte -> length 0, use default table

svn path=/trunk/; revision=53886
2013-12-09 20:46:27 +00:00
Jakub Zawadzki 3ae2e5ece2 Fix warnings
svn path=/trunk/; revision=53885
2013-12-09 20:15:47 +00:00
Martin Kaiser 8aebe15965 fix compilation without GNUTLS and libgcrypt
move from_hex_char() and from_hex() outside ifdef gnutls
add dummy ssl_generate_pre_master_secret()

this should fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9529

svn path=/trunk/; revision=53884
2013-12-09 17:51:48 +00:00
Chris Maynard edce8204d1 Reject the packet if data is NULL.
svn path=/trunk/; revision=53883
2013-12-09 16:32:15 +00:00
Chris Maynard 494d32ad2a Reject the packet if data is NULL.
svn path=/trunk/; revision=53882
2013-12-09 15:45:59 +00:00
Jörg Mayer 3be739ac8b Add TLV 16 (Interface name)
svn path=/trunk/; revision=53881
2013-12-09 11:54:05 +00:00
Irene Rüngeler a2b2dd4b28 Add a function and an enum to register an uat preference for QT only.
svn path=/trunk/; revision=53880
2013-12-09 10:07:33 +00:00
Pascal Quantin 293e390c61 Use an item for USSD text
svn path=/trunk/; revision=53879
2013-12-09 08:56:06 +00:00
Irene Rüngeler 2f79fbda38 Fix clang warning.
svn path=/trunk/; revision=53878
2013-12-09 07:34:52 +00:00
Anders Broman b693f74b89 - Forward declaration of register functions.
svn path=/trunk/; revision=53877
2013-12-09 06:50:09 +00:00
Anders Broman 0d46cdae53 - Forward declaration of register functions.
svn path=/trunk/; revision=53876
2013-12-09 06:20:42 +00:00
Jakub Zawadzki f91eba752b Fix some warnings: cast discards `__attribute__((const))' qualifier from pointer target type
svn path=/trunk/; revision=53875
2013-12-08 23:16:06 +00:00
Anders Broman 6e2465b94e - Forward declaration of register functions.
svn path=/trunk/; revision=53873
2013-12-08 22:11:18 +00:00
Anders Broman 4124b7aa17 - Forward declaration of register functions.
svn path=/trunk/; revision=53872
2013-12-08 22:02:12 +00:00
Pascal Quantin a944c8ef7a Remove proto_tree_add_unicode_string()
svn path=/trunk/; revision=53869
2013-12-08 20:15:07 +00:00
Pascal Quantin 93398e794e Use STR_UNICODE display instead of proto_tree_add_unicode_string() in the remaining dissectors
svn path=/trunk/; revision=53867
2013-12-08 20:03:15 +00:00
Jakub Zawadzki 2dd25c2c48 check licence: fix FSF address.
svn path=/trunk/; revision=53866
2013-12-08 20:00:19 +00:00
Jakub Zawadzki b61dd3c68d Encoding table for ISO/IEC 8859-2: make code points in the range 0x80-0x9F map to 0x80-0x9F (Guy Harris).
svn path=/trunk/; revision=53865
2013-12-08 19:55:46 +00:00
Jakub Zawadzki 64456261b9 Improve netlink dissection:
- add standard message types
- add dissection for WS_RTM_*NEIGH
- add BASE_CUSTOM functions to print bitfields

svn path=/trunk/; revision=53864
2013-12-08 19:30:33 +00:00
Pascal Quantin fab9e52055 Try to please OSX-10.5-x86 buildbot
svn path=/trunk/; revision=53863
2013-12-08 18:46:38 +00:00
Anders Broman 5db045212e - Forward declaration of register functions.
svn path=/trunk/; revision=53862
2013-12-08 16:50:07 +00:00
Anders Broman 8983ae005a - Forward declaration of register functions.
svn path=/trunk/; revision=53861
2013-12-08 16:40:49 +00:00
Anders Broman c9884f573a - Forward declaration of register functions.
svn path=/trunk/; revision=53860
2013-12-08 15:52:29 +00:00
Anders Broman b630ccec17 - Forward declaration of register functions.
svn path=/trunk/; revision=53859
2013-12-08 15:40:10 +00:00
Anders Broman b7d62057f3 ../../epan/address.h:63:17: warning: comma at end of enumerator list [-pedantic]
svn path=/trunk/; revision=53856
2013-12-08 15:14:32 +00:00
Jakub Zawadzki 17a94af10e netlink-route: extend Interface IP address dissections
+ try to fix make dist

svn path=/trunk/; revision=53854
2013-12-08 13:28:01 +00:00
Jakub Zawadzki d6ca0073b0 Fix buildbot:
packet-netlink-route.c:672: warning: request for implicit conversion from 'void *' to 'struct packet_netlink_data *' not permitted in C++

svn path=/trunk/; revision=53853
2013-12-08 12:43:46 +00:00
Jakub Zawadzki fa01b39f33 Add more LINUX_AF_* values, create value_string_ext for them. Use it in netlink, nflog.
svn path=/trunk/; revision=53852
2013-12-08 12:42:10 +00:00
Jakub Zawadzki 4af107edfe Make VALUE_STRING_EXT_INIT use G_N_ELEMENTS macro instead of array_length.
array_length() requires including packet.h

svn path=/trunk/; revision=53851
2013-12-08 12:34:56 +00:00