Commit Graph

26293 Commits

Author SHA1 Message Date
Gerald Combs 8f375871c1 Allow compilation with c-ares <= 1.4.0 (untested). While we're at it, fix
c-ares name resolution.

svn path=/trunk/; revision=27096
2008-12-23 18:15:09 +00:00
Jaap Keuter 38fc4d7e69 From Gursel Mutlu:
WPS defines usage of UUID values for both enrollee and registrar. They are both
16-byte values as defined in RFC 4122 for UUID. Current code on SVN repository
dissectors these values as they are 8 bytes long.

svn path=/trunk/; revision=27095
2008-12-23 17:39:19 +00:00
Balint Reczey a5622ba415 Do not include init.lua in distribution tar.gz.
svn path=/trunk/; revision=27094
2008-12-23 17:01:59 +00:00
Jaap Keuter 11b17818a1 From Didier Gautheron:
In follow.c there's stuff like: DISSECTOR_ASSERT(... fwrite( data, 1, sc->dlen, data_out_file )
If DISSECTOR_ASSERT is defined as a noop then fwrite is not called.

svn path=/trunk/; revision=27093
2008-12-23 14:50:28 +00:00
Stephen Fisher 3a50c0063f Fix bug #3152 for good.
svn path=/trunk/; revision=27092
2008-12-23 03:25:56 +00:00
Guy Harris 880180dd6b Don't use fancy quote characters that don't fit in ASCII; just use
Boring Old ASCII Quotes.  That way, you don't have to worry about which
character set a program reading the file is expecting.  Fixes bug 3157.

Fix some typoes in comments while we're at it.

svn path=/trunk/; revision=27091
2008-12-23 00:22:07 +00:00
Guy Harris 3dd525b5a2 err_posn_table[] was mis-generated (probably a cut-and-pasteo, as,
given that we're using #defines for NO_ERROR_DETECTED and
UNCORRECTIBLE_ERROR, the table is 2x128, rather than 8x32 like the other
tables, so I probably had a loop that advanced by 8 elements but printed
only 2 of them).

svn path=/trunk/; revision=27090
2008-12-22 20:24:41 +00:00
Guy Harris 7dc13568c4 Update URLs for Cell Relay Retreat CRC information.
svn path=/trunk/; revision=27089
2008-12-22 20:08:27 +00:00
Jeff Morriss 6c81d84efc Fix bug 3152: when searching for igemacintegration manually set GTK_LIBS to
the found library (AC_SEARCH_LIBS sets the LIBS variable but we really don't
want that).

svn path=/trunk/; revision=27088
2008-12-22 16:10:14 +00:00
Bill Meier 074c1469e0 Initialize a variable to keep lint happy. reported by Chris Maynard in bug #2814
svn path=/trunk/; revision=27087
2008-12-22 16:10:11 +00:00
Bill Meier 2fd064d68d Add some missing g_free() [for certain error code paths].
svn path=/trunk/; revision=27086
2008-12-22 16:05:24 +00:00
Bill Meier 9a3563e807 Fix some typos and spelling (mostly in text strings)
svn path=/trunk/; revision=27085
2008-12-22 15:24:18 +00:00
Bill Meier 15f02081b3 Fix a typo
svn path=/trunk/; revision=27084
2008-12-22 15:22:07 +00:00
Bill Meier 154c440e88 Best guess fix for missing initializer in array of string pointers;
Issue reported by Chris Maynard in Bug #2813.

svn path=/trunk/; revision=27083
2008-12-22 14:03:00 +00:00
Bill Meier b3d131b43d Fixes for issues reported by Chris Maynard in bug #2813;
Also: fix a typo

svn path=/trunk/; revision=27082
2008-12-22 13:34:51 +00:00
Anders Broman d7cd8b410b From Pascal Quantin:
3GPP dissectors: do not go back to tree root when decoding an encapsulated message
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3132

svn path=/trunk/; revision=27081
2008-12-22 12:44:40 +00:00
Jörg Mayer 9781112aaa Bugfix: "make rpm-package" would fail if help/faq.txt didn't exist already.
The reason was that FAQ incorrectly depended on help/faq.txt. Correct
  dependency is, that both files depend only on the generator.

svn path=/trunk/; revision=27080
2008-12-22 12:28:27 +00:00
Anders Broman 92fb6ca65f From Michael Lum:
Minor enhancement for for MEID/pESN
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3100

svn path=/trunk/; revision=27079
2008-12-22 12:05:56 +00:00
Anders Broman a7cf5b830d Add frame type index filter for AMR if sent using bandwidth efficient mode.
Fix bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3148

svn path=/trunk/; revision=27078
2008-12-22 11:27:55 +00:00
Guy Harris f134efc657 wtap_pcap_encap_to_wtap_encap() and wtap_wtap_encap_to_pcap_encap() were
moved back into libwiretap.

svn path=/trunk/; revision=27077
2008-12-22 01:14:36 +00:00
Guy Harris 29a7854093 Move wtap_pcap_encap_to_wtap_encap() and wtap_wtap_encap_to_pcap_encap()
back to libwiretap for now, as it's inherently tied to reading libpcap
files; at some point we might want to have pcap-reading (and
pcap-ng-reading?) code in a separate library, for use by, for example,
dumpcap (and rawshark?).

svn path=/trunk/; revision=27076
2008-12-22 00:06:12 +00:00
Guy Harris 48ea0b2fc7 Fix error reporting - just use fprintf(stderr, ...), give the path name
of the pipe to be opened in the messages.

Check whether strtol() succeeds.

Map DLT_ values to a WTAP_ENCAP_ value regardless of whether it comes
from linktype_name_to_val() or strtol().

Clean up indentation.

svn path=/trunk/; revision=27075
2008-12-21 23:37:29 +00:00
Guy Harris 44f8cae6ab If we don't have any of the pcap_datalink_XXX_to_YYY routines,
substitute our own (I wrote them all, so I can steal them from the
BSD-licensed libpcap if I want :-)).  This means that
linktype_name_to_val() and linktype_val_to_name() are always available,
and we don't need to #ifdef use of them.

Use pcap_datalink_val_to_description() to get the description for a
particular DLT_ value, rather than mapping the DLT_ value to a
WTAP_ENCAP_ value and getting the description for the latter.

svn path=/trunk/; revision=27074
2008-12-21 23:22:12 +00:00
Jaap Keuter 4692f6cae7 When destroying the RTP player make sure to terminate the use of PortAudio library.
At least that is what the documentation says.

svn path=/trunk/; revision=27073
2008-12-21 18:49:20 +00:00
Gerald Combs 241ddda1d6 [Automatic manuf update for 2008-12-21]
svn path=/trunk/; revision=27071
2008-12-21 16:03:25 +00:00
Bill Meier 6fee0f704e Fix some typos and spelling
svn path=/trunk/; revision=27070
2008-12-20 01:39:16 +00:00
Gerald Combs 8552316c75 geoip_get_paths -> geoip_db_get_paths.
svn path=/trunk/; revision=27069
2008-12-20 01:15:21 +00:00
Bill Meier ea2d615dd7 Fix some typos and spelling (mostly in text strings)
svn path=/trunk/; revision=27068
2008-12-20 01:01:28 +00:00
Guy Harris fa910fac19 Add a newline to the end of the file.
svn path=/trunk/; revision=27067
2008-12-20 00:29:05 +00:00
Guy Harris d3f84a1af3 Umm, no. g_strdup() != g_strdup_printf(); the first argument to the
*former* should always be a format string, but the *only* argument to
the latter is a string to duplicate.

svn path=/trunk/; revision=27066
2008-12-20 00:12:54 +00:00
Bill Meier c0e92cbc04 Fix various typos and spelling errors (mostly in text strings)
svn path=/trunk/; revision=27065
2008-12-20 00:09:02 +00:00
Gerald Combs 3bb0df12f5 From babi: Fix three overflows (bugs 3150 and 3151).
From me: Use a #define for the RTP analysis field name lengths.

svn path=/trunk/; revision=27064
2008-12-20 00:07:21 +00:00
Gerald Combs 7d22c0fb7f Rename geoip.[ch] to geoip_db.[ch] so we don't collide with GeoIP.h. Rename
some functions to match.

Add GeoIP lookups to the IP dissector. Add a preference for GeoIP lookups,
which is disabled by default.

svn path=/trunk/; revision=27063
2008-12-19 23:49:03 +00:00
Gerald Combs 6d04f793f0 Back out r27047 and r27053.
svn path=/trunk/; revision=27062
2008-12-19 17:39:52 +00:00
Jaap Keuter 8e53f72688 One last snprintf.
svn path=/trunk/; revision=27061
2008-12-19 14:35:55 +00:00
Jaap Keuter c95944a16a Correct language.
svn path=/trunk/; revision=27060
2008-12-19 11:31:28 +00:00
Jaap Keuter 0c7d516955 Cleanup sourcecode.
svn path=/trunk/; revision=27059
2008-12-19 11:30:50 +00:00
Bill Meier ba7be20b74 Revert queueing --> queuing spelling changes made in SVN #27050
svn path=/trunk/; revision=27058
2008-12-19 04:41:54 +00:00
Bill Meier 70786edd00 Revert the queueing --> queuing spelling change
svn path=/trunk/; revision=27057
2008-12-19 04:21:08 +00:00
Jeff Morriss 5b9a2fdd6d After checking for ige_mac_menu_set_menu_bar reset CFLAGS and LIBS
back to what they were before the test (without GTK_LIBS).
This prevents tshark (and every other program) from unnecessarily linking
against GTK_LIBS.

svn path=/trunk/; revision=27056
2008-12-19 02:48:19 +00:00
Gerald Combs 37c36dba55 Describe the "-d" option a little more clearly.
svn path=/trunk/; revision=27055
2008-12-18 23:25:50 +00:00
Gerald Combs 15274ad664 Define the path to the tools directory.
svn path=/trunk/; revision=27054
2008-12-18 21:40:39 +00:00
Gerald Combs fc71188963 Update calls to proto_tree_add_bytes_format to reflect r27047.
svn path=/trunk/; revision=27053
2008-12-18 20:19:49 +00:00
Bill Meier d2ba316fd9 Fix two typos
svn path=/trunk/; revision=27052
2008-12-18 19:32:11 +00:00
Jeff Morriss a7b7e98cb1 Only declare failure_message() if we HAVE_PLUGINS (since it's only used when that's the case).
svn path=/trunk/; revision=27051
2008-12-18 19:24:34 +00:00
Bill Meier c544c20956 Fix various typos and spelling errors (mostly in text strings)
svn path=/trunk/; revision=27050
2008-12-18 19:08:49 +00:00
Guy Harris dbd150e948 Have descriptors start out with a length of "to the end of the packet",
so that if they're cut short, they appear to be the length of the
remaining data in the packet, rather than zero-length.

svn path=/trunk/; revision=27049
2008-12-18 19:03:25 +00:00
Jaap Keuter bb61056728 From Richard Brodie:
DNSSEC RFC 5155 support patch

svn path=/trunk/; revision=27048
2008-12-18 19:01:08 +00:00
Martin Mathieson 3633774826 Make proto_tree_add_bytes_format() (unused) behave as expected.
Was identical to proto_tree_add_bytes_format_value().

svn path=/trunk/; revision=27047
2008-12-18 17:08:26 +00:00
Guy Harris 57f910e107 The "8 mysterious bytes" are bytes reserved for a setup header - with
the Linux USB capture mechanism, there are always 8 bytes of setup
header after the URB, regardless of whether there's a setup header or
not; if there is no setup header, we just skip those 8 bytes.

Don't skip them *twice*, however.

svn path=/trunk/; revision=27046
2008-12-18 09:17:16 +00:00