Bill Meier
09764dd969
Remove unneeded #include <stdio.h>
...
svn path=/trunk/; revision=32367
2010-04-03 21:55:23 +00:00
Stig Bjørlykke
2f8830b4d0
From LEGO via bug 3459:
...
Add a callback to UAT to be called after the table has being updated,
use it to renew the snmp_ue_cache.
svn path=/trunk/; revision=32112
2010-03-04 12:50:18 +00:00
Stig Bjørlykke
539b558f8c
Renamed some reassembled data texts.
...
Removed some check_col().
svn path=/trunk/; revision=31809
2010-02-06 18:20:21 +00:00
Gerasimos Dimitriadis
214148c7c6
Fix the MNC decoding when Global Title is built
...
according to E.212
svn path=/trunk/; revision=31802
2010-02-05 20:54:13 +00:00
Stig Bjørlykke
88b72356ad
Introduce "Reassembled length" filter element for all protocols doing
...
reassembly.
svn path=/trunk/; revision=31767
2010-02-02 16:01:52 +00:00
Anders Broman
6343ffb68e
Try to fix indentation sligtly.
...
svn path=/trunk/; revision=31518
2010-01-13 20:26:17 +00:00
Jeff Morriss
6d11b171d6
Add support for LUDT/LUDTS in ANSI (ANSI added them in 2000/2001).
...
svn path=/trunk/; revision=31268
2009-12-14 20:08:11 +00:00
Gerasimos Dimitriadis
b7261fe2e4
Expert info when E.212 MCC/MNC contain non-decimal digits
...
svn path=/trunk/; revision=31102
2009-11-27 22:57:50 +00:00
Kovarththanan Rajaratnam
00810ff199
* Prefer col_append_str instead of col_append_fstr for constant strings
...
* Remove check_col guards
svn path=/trunk/; revision=30127
2009-09-24 20:21:23 +00:00
Kovarththanan Rajaratnam
b97cfa22fd
offset_from_real_beginning() is only called with 0 as second argument, so remove the argument completely. It seems that the second argument only acts as an accumulator allowing offset_from_real_beginning() to call itself recursively. To be consistent offset_from_real_beginning() is renamed to tvb_offset_from_real_beginning().
...
svn path=/trunk/; revision=29844
2009-09-10 16:54:02 +00:00
Kovarththanan Rajaratnam
8c48c6835f
Rename address_to_str() to ep_address_to_str() because:
...
1) This indicates that the string has ephemeral lifetime
2) More consistent with its existing seasonal counterpart, se_address_to_str().
svn path=/trunk/; revision=29747
2009-09-06 14:25:47 +00:00
Kovarththanan Rajaratnam
17c9803cac
Sanitize epan includes
...
svn path=/trunk/; revision=29499
2009-08-21 20:25:24 +00:00
Jeff Morriss
b62e6545b9
Add an expert info noting that an ANSI message with the national indicator set to 0 (international) is unusual.
...
svn path=/trunk/; revision=29464
2009-08-18 13:25:49 +00:00
Gerald Combs
0ff1dd7142
Add a bunch of length checks. Fixes bug 3826.
...
svn path=/trunk/; revision=29383
2009-08-11 18:37:59 +00:00
Gerald Combs
85f68c7461
Fix compilation warnings in a few dissectors and try moving them to the
...
"clean" list.
svn path=/trunk/; revision=29313
2009-08-06 20:55:04 +00:00
Guy Harris
bd97aecdd3
Clean up indentation somewhat.
...
svn path=/trunk/; revision=29281
2009-08-03 21:17:30 +00:00
Gerald Combs
8224d4e436
Add a null pointer check. Remove some unused variables.
...
svn path=/trunk/; revision=29278
2009-08-03 19:50:35 +00:00
Stig Bjørlykke
b228488bc0
From Kovarththanan Rajaratnam via bug 3548:
...
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Jeff Morriss
05322d40f1
Decode SCCP cause values in SUA (using value_strings exported from the SCCP
...
dissector).
svn path=/trunk/; revision=28599
2009-06-02 15:34:17 +00:00
Gerald Combs
def3068154
Use se_alloc0 and ep_alloc0.
...
svn path=/trunk/; revision=28397
2009-05-18 20:30:55 +00:00
Anders Broman
95c51c2e2d
Make an epxpert item checking PC length.
...
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3458
svn path=/trunk/; revision=28337
2009-05-12 17:48:48 +00:00
Jaap Keuter
33791dea9f
From Reinhard Speyerer:
...
This patch fixes several misspellings/typos in Wireshark SVN revision 28201.
svn path=/trunk/; revision=28223
2009-05-01 07:18:41 +00:00
Jaap Keuter
b751e5367c
Constify some more value_strings.
...
svn path=/trunk/; revision=28101
2009-04-21 05:33:32 +00:00
Bill Meier
bee5d93ed9
packet_sccp.c: Init an uninit'd variable which was the cause of intermittent crashes.
...
Fixes Bug #3409 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3409 )
svn path=/trunk/; revision=28058
2009-04-15 20:01:45 +00:00
Anders Broman
7d3b2bfbbd
Small indentation fix.
...
svn path=/trunk/; revision=28016
2009-04-09 05:51:15 +00:00
Jeff Morriss
d9f7a40296
Fix a typo.
...
Fix up indentation of some value_strings.
Add/fix some ANSI-specific return causes.
svn path=/trunk/; revision=27986
2009-04-07 21:07:10 +00:00
Stig Bjørlykke
2445e38d88
Indicate hexadecimal preferences.
...
svn path=/trunk/; revision=27650
2009-03-08 11:55:44 +00:00
Guy Harris
5742ede54c
Add an additional "title" attribute for UAT fields; that's what's
...
displayed to the user.
svn path=/trunk/; revision=27462
2009-02-16 04:10:06 +00:00
Guy Harris
a78a28064b
Fix some warnings.
...
svn path=/trunk/; revision=26770
2008-11-13 17:45:16 +00:00
Anders Broman
10d2e65228
If we only see one half of a SCCP conneversation we can as a last resort make the association on the RLC(if seen).
...
svn path=/trunk/; revision=26527
2008-10-23 19:25:13 +00:00
Jeff Morriss
ba3f1eaa5a
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2848 :
...
Decode SUA GT digits. This removes the (undecoded, raw BCD) FT_BYTES field
sua.global_title_signals and adds an FT_STRING field sua.global_title_digits
(like in SCCP).
svn path=/trunk/; revision=26262
2008-09-24 13:41:47 +00:00
Jeff Morriss
ad10542235
Correct the field lengths for the segmentation parameter (fixes the highlighting in the byte pane).
...
svn path=/trunk/; revision=26229
2008-09-19 12:17:32 +00:00
Jeff Morriss
f426f3363f
If ANSI and national==0, decode the PC as ITU (not China). This fixes bug 2861.
...
svn path=/trunk/; revision=26210
2008-09-15 20:17:47 +00:00
Bill Meier
ceebccced4
Fix some warnings reported by gcc -Wshadow ...
...
svn path=/trunk/; revision=25607
2008-06-26 00:16:58 +00:00
Anders Broman
e623809550
Fix some of the Errors/warnings detected by checkapi.
...
svn path=/trunk/; revision=25264
2008-05-09 13:59:10 +00:00
Anders Broman
63c5c71cf8
Remove:
...
#ifdef NEED_G_ASCII_STRCASECMP_H
#include "g_ascii_strcasecmp.h"
#endif
svn path=/trunk/; revision=24859
2008-04-09 05:36:08 +00:00
Gerald Combs
216168c922
Fix compilation under Windows.
...
svn path=/trunk/; revision=24743
2008-03-28 05:56:02 +00:00
Gerald Combs
1747ccc7c7
Make sure we reset a pointer to ephemeral memory when we're done processing
...
our packet, otherwise someone might try to use it later on.
svn path=/trunk/; revision=24740
2008-03-27 23:09:22 +00:00
Stig Bjørlykke
fdc980e79d
Added an option to uat_new() to set if configuration shall be saved in the
...
selected profile.
Don't save SMI Paths and SMI Modules in the profiles because reloading
currently doesn't work (bug 2309).
svn path=/trunk/; revision=24580
2008-03-06 22:13:24 +00:00
Stig Bjørlykke
b091b8d26c
Rewrote to use g_strlcpy and g_strlcat.
...
svn path=/trunk/; revision=24525
2008-03-01 17:23:39 +00:00
Guy Harris
6dd81aa615
The type field of an mtp3_addr_pc_t is a "which SS7 standard is this?"
...
type, not a "how do I format addresses?" type; declare it as such, and
remove the comment that pointed out that the type field had the wrong
(C) type.
svn path=/trunk/; revision=24297
2008-02-10 21:38:52 +00:00
Bill Meier
bad9f18d33
Fix (Sun) compiler warnings as reported by David Kirkby: Part 1
...
svn path=/trunk/; revision=24295
2008-02-09 23:35:28 +00:00
Jeff Morriss
ed88c589b0
Add support for DLT_SCCP (SCCP without MTP2, MTP3, or any pseudo-header).
...
svn path=/trunk/; revision=24119
2008-01-17 17:55:38 +00:00
Jeff Morriss
52fcbb6ed8
Display the Country Code information in a subtree of the digits (to make it obvious that it's a subfield). Add #defines for the NAI and NP values and use them rather than hex values. Initial the 'np' variable to clean up a warning.
...
svn path=/trunk/; revision=24049
2008-01-09 22:01:57 +00:00
Anders Broman
1b73351c8d
From Shmulik Bezalel:
...
Present the country code description gsmmap and SCCP.
Added small ASN1 bugfix - missing EXPORTS used by gsmmap.asn(Handle older ver).
svn path=/trunk/; revision=24048
2008-01-09 21:14:01 +00:00
Anders Broman
88b269d724
Fix indentation somewhat.
...
svn path=/trunk/; revision=23976
2007-12-30 00:02:25 +00:00
Jeff Morriss
aabf0f25d1
Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2059 : reassemble XUDTS, too
...
svn path=/trunk/; revision=23705
2007-12-03 18:12:25 +00:00
Guy Harris
9c89cdaaa3
strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delenda
...
est. Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our
own versions if they're missing from GLib (as is the case with GLib
1.x).
In the code to build the list of named fields for Diameter, don't use
g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping
in the hash function and use g_ascii_strcasecmp() in the compare
function.
We do this because there is no guarantee that toupper(), tolower(), and
functions that use them will, for example, map between "I" and "i" in
all locales; in Turkish locales, for example, there are, in both
upper case and lower case, versions of "i" with and without a dot, and
the upper-case version of "i" is "I"-with-a-dot and the lower-case
version of "I" is "i"-without-a-dot. This causes strings that should
match not to match.
This finishes fixing bug 2010 - an earlier checkin prevented the crash
(as there are other ways to produce the same crash, e.g. a bogus
dictionary.xml file), but didn't fix the case-insensitive string matching.
svn path=/trunk/; revision=23623
2007-11-27 18:52:51 +00:00
Jeff Morriss
29cb0d329b
Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2011 : check SSN in both Called and Calling addresses even when we know the direction of the messages
...
svn path=/trunk/; revision=23564
2007-11-24 15:43:39 +00:00
Jeff Morriss
8058db81b9
Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2006 : use 0xffffff (reserved value) for unset xLRs
...
svn path=/trunk/; revision=23563
2007-11-24 15:38:19 +00:00