Commit Graph

35504 Commits

Author SHA1 Message Date
Anders Broman 0cb247defc More GUIManager stuff.
svn path=/trunk/; revision=37175
2011-05-16 06:28:33 +00:00
Michael Tüxen 448fdb60b3 * Fix a bug when printing a pointer.
* Remove number_of_ifaces, since ifaces->len can be used instead.

svn path=/trunk/; revision=37174
2011-05-16 00:55:04 +00:00
Michael Tüxen 9a2ba01e85 Don't use debug output.
BTW: Why does compilation fail with it being enabled?

svn path=/trunk/; revision=37173
2011-05-16 00:19:47 +00:00
Michael Tüxen 2d2815b5d1 Fix compilation on Windows (hopefully).
svn path=/trunk/; revision=37172
2011-05-15 23:41:21 +00:00
Michael Tüxen 03d7987ba6 Change internal data structures to store and handle mulitple
pcap devices / pipes to capture from and open and close them.
However, capturing currently happens only on the last specified
interface.
So this does not add user visible functionality except that
some bugs are fixed. For example a crash when capturing on
a pipe and saving in pcapng format.

svn path=/trunk/; revision=37171
2011-05-15 22:54:52 +00:00
Bill Meier 5a54b1d742 Mark a function arg as unused.
svn path=/trunk/; revision=37170
2011-05-15 21:28:21 +00:00
Bill Meier c4a6e2f044 Replace a number if 'if(...){exit(10);}' by _g_asserts;
Fix an event callback function signature;
Change quit() signal calback function to return void;
#include <stdlib.h> not req'd;
Misc minor changes.

svn path=/trunk/; revision=37169
2011-05-15 21:12:55 +00:00
Bill Meier e9326d7152 Don't assign to an unused variable;
#include <stdlib.h> not req'd

svn path=/trunk/; revision=37168
2011-05-15 21:09:04 +00:00
Gerald Combs cdca166a64 Fix the ChmodBPF startup item permissions. Handling this within
PackageMaker would be a more correct fix. Replacing PackageMaker with
something that fits our development and deployment model would be an
even more correct fix.

svn path=/trunk/; revision=37167
2011-05-15 19:25:50 +00:00
Bill Meier 6a5644b497 Replace some 'if(...){exit(10);}' by g_asserts;
Fix some event callback functon signatures;
Change the "destroy" callback function (quit()) to return void: It's not an event callback.
Do some whitespace cleanup.

svn path=/trunk/; revision=37166
2011-05-15 19:01:38 +00:00
Alexis La Goutte d4a80250c0 Add EUI64 display type for Source/Target Link-layer Address (RFC4861)
svn path=/trunk/; revision=37165
2011-05-15 18:48:39 +00:00
Stig Bjørlykke c479a32028 Mark an unused argument.
svn path=/trunk/; revision=37163
2011-05-15 17:54:33 +00:00
Alexis La Goutte d05788974e From Colin O'Flynn via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5921
Fix for RPL DAO-ACK Processing when DODAG ID present

Reported and fixed by Jakob Ruhe

svn path=/trunk/; revision=37162
2011-05-15 17:47:56 +00:00
Martin Mathieson 6c57efee2a Add missing trailing 0 to an hf mask value.
svn path=/trunk/; revision=37160
2011-05-15 16:52:05 +00:00
Bill Meier da1fcc2347 Use correct signature for event callback functions;
Use event callback function user_data arg instead of using a property;
Replace an 'if(...) {... exit(10);}' by a g_assert;
Remove several unneeded 'if(...) {... exit(10);}' groups of code;
Do whitespace cleanuip.

svn path=/trunk/; revision=37159
2011-05-15 16:51:21 +00:00
Anders Broman 27f76e0f34 Remove debug code.
svn path=/trunk/; revision=37157
2011-05-15 15:09:44 +00:00
Anders Broman 1bfd32c506 Set menu sensitivity.
svn path=/trunk/; revision=37156
2011-05-15 15:08:47 +00:00
Gerald Combs 02c46300fd [Automatic manuf, services and enterprise-numbers update for 2011-05-15]
svn path=/trunk/; revision=37155
2011-05-15 15:03:59 +00:00
Anders Broman f758c5a32b Add the TCPGraph for UIManager.
Note sensitivity remains to be fixed.

svn path=/trunk/; revision=37154
2011-05-15 14:18:22 +00:00
Jeff Morriss 7896033ed8 Whitespace cleanup.
svn path=/trunk/; revision=37152
2011-05-15 02:48:18 +00:00
Jeff Morriss d0af7351c5 gtk_combo_box_get_active_text() may return NULL and g_ascii_strcasecmp() complains if its first argument is NULL, so check for the NULL pointer before using it.
svn path=/trunk/; revision=37151
2011-05-15 02:45:18 +00:00
Jeff Morriss 2daa006cd2 main_widgets_rearrange(): only pack the airpcap_tb once (to avoid GTK complaints about the child already having a parent).
svn path=/trunk/; revision=37150
2011-05-15 02:42:52 +00:00
Gerald Combs 1c831b6343 1.5.2 → 1.7.0.
svn path=/trunk/; revision=37148
2011-05-14 20:17:37 +00:00
Jeff Morriss 4a6e62ff5c Rebuild the X11 dissector with the latest versions of xcbproto and mesa.
svn path=/trunk/; revision=37145
2011-05-14 18:39:16 +00:00
Chris Maynard 01d1a4c99c From Tyson Key via bug 5922: Add another AT magic array.
(I changed the array names to be more generic.)

svn path=/trunk/; revision=37144
2011-05-14 14:57:58 +00:00
Jeff Morriss a8b851ceab From Sven Eckelmann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5658 :
Add support for v12 fragmented unicast.

svn path=/trunk/; revision=37143
2011-05-14 14:31:51 +00:00
Jeff Morriss 393f2467e4 From Sven Eckelmann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5658 :
Read unchanged packets of v12 as v10 packets
Read unchanged packets of v13 as v11 packets
Use version in packet type definitions

svn path=/trunk/; revision=37142
2011-05-14 14:05:30 +00:00
Anders Broman b699fa89ee Move MAIN_MENU_USE_UI_MANAGER outside of if win32.
svn path=/trunk/; revision=37141
2011-05-14 13:15:56 +00:00
Anders Broman d4aac68393 Move MAIN_MENU_USE_UI_MANAGER outside of if win32.
svn path=/trunk/; revision=37140
2011-05-14 13:15:22 +00:00
Guy Harris 2a1e380545 Remove the qpi_ from info level dissectors used for set info calls as
well.

svn path=/trunk/; revision=37139
2011-05-14 02:52:04 +00:00
Guy Harris 03cd4f2cfd For Find File Unix and Unix Info2, spell it "Unix", to match Query File
and Set File.

Add Query and Set File Unix Info2; use common code to dissect the Unix
Info2 structure.  Use common code for Unix Basic, while we're at it.

svn path=/trunk/; revision=37138
2011-05-14 01:28:49 +00:00
Guy Harris 587f850bfd Make the tree items for strings look a little less ugly.
Note that the string value should be put into the protocol tree.

svn path=/trunk/; revision=37137
2011-05-14 00:50:22 +00:00
Bill Meier acd01c89d9 Fix a compiler warning
svn path=/trunk/; revision=37136
2011-05-13 22:10:42 +00:00
Bill Meier 4f7a9174fe Fix Bug 5920: "DNP3 dissector incorrect constants AL_OBJ_FCTR_16NF _FDCTR_32NF _FDCTR_16NF"
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5920

svn path=/trunk/; revision=37135
2011-05-13 22:01:22 +00:00
Stig Bjørlykke 0220f5d8ee More packets_bar_update improvements.
svn path=/trunk/; revision=37134
2011-05-13 21:49:35 +00:00
Bill Meier 716132e53a Fix Bug 5919: "IE 89 Forwarding Status - Incorrect Decoding"
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5919

svn path=/trunk/; revision=37133
2011-05-13 21:47:09 +00:00
Chris Maynard dac93d45dd Delete 2 assignments to 'i' as neither were used. Fixes Coverity CID 875.
svn path=/trunk/; revision=37132
2011-05-13 19:29:15 +00:00
Chris Maynard 0ea2cd66e7 Delete assignment of item as it's not used. Fixes Coverity CID 869.
svn path=/trunk/; revision=37131
2011-05-13 19:15:21 +00:00
Jeff Morriss f96589758a Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5902 :
Increase the maximum number of silence frames insert from 1000 to 240,000.

svn path=/trunk/; revision=37130
2011-05-13 19:02:55 +00:00
Gerald Combs 67a005df11 Fix items pointed out by Guy in bug 5756.
svn path=/trunk/; revision=37129
2011-05-13 18:23:27 +00:00
Gerald Combs 14a9ef9cb2 From Huzaifa Sidhpurwala of the Red Hat Security Response Team: Fix an
integer overflow in wiretap/visual.c.

svn path=/trunk/; revision=37128
2011-05-13 17:12:44 +00:00
Chris Maynard dece07c8f3 Eliminate deadcode. Fixes Coverity CID 415.
svn path=/trunk/; revision=37127
2011-05-13 17:05:05 +00:00
Bill Meier 6e272a624a (Trivial) fix a spelling error.
svn path=/trunk/; revision=37126
2011-05-13 15:39:43 +00:00
Jeff Morriss 59ca569c41 Make it work when we have plugins
svn path=/trunk/; revision=37125
2011-05-13 15:07:54 +00:00
Jeff Morriss d1f9422b2b Don't try to export the plugin symbols if we're not building with plugins.
svn path=/trunk/; revision=37124
2011-05-13 15:04:40 +00:00
Jeff Morriss 166b14c1df As suggested by Anders: back out 37112.
svn path=/trunk/; revision=37123
2011-05-13 14:21:58 +00:00
Michael Tüxen 520750df8a Fix a copy/paste error.
svn path=/trunk/; revision=37122
2011-05-13 13:04:13 +00:00
Stig Bjørlykke d631023f4f Simplified string handling in packets_bar_update to use GString.
This allows both Dropped and Ignored count, combined with Load time.

svn path=/trunk/; revision=37121
2011-05-13 11:50:33 +00:00
Michael Tüxen cfe3d2d0da Get -L and -d working with multiple interface. Internally get some functions
using the array of interface data.
Improve output of -L by printing the interface name.

svn path=/trunk/; revision=37120
2011-05-13 11:28:51 +00:00
Stig Bjørlykke a7c5d642d5 Regenerate ASN.1 dissectors to update the #line directive.
svn path=/trunk/; revision=37118
2011-05-13 08:12:27 +00:00