Stig Bjørlykke
f62ac938e5
Set default focus to the filter text box.
...
Don't use a tree view for IP addresses, as it's not possible to
do any actions on them. Just list them as labels. Maybe we should
have the scrolled window only if having more than 2 IP addresses?
svn path=/trunk/; revision=39510
2011-10-23 14:06:17 +00:00
Michael Tüxen
c219f2eea5
Back out infrastructure change. We missed supporting
...
stdin and pipes.
svn path=/trunk/; revision=39498
2011-10-20 19:44:40 +00:00
Michael Tüxen
95ae2fe13a
Use a global list containing all interfaces and only change
...
properties of the entries when changes are made in the GUI.
Do not misuse the list of interfaces specified on the command
line anymore.
This patch does not provide any new functionality, it just
provides the base for future extensions like removing
remote interface, mulitple airpcap devices and multiple
pipes.
This patch was provided by Irene Ruengeler.
svn path=/trunk/; revision=39495
2011-10-20 18:17:54 +00:00
Gerald Combs
8e5c7e2da9
Check our capture filter syntax in a separate thread.
...
svn path=/trunk/; revision=39349
2011-10-10 22:39:35 +00:00
Anders Broman
6951f00068
From Sake Blok and Michael Mann:
...
Change "File -> Save As" to only save the displayed frames by default.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6192
svn path=/trunk/; revision=39264
2011-10-05 05:40:34 +00:00
Michael Tüxen
6ecc4235f1
Use the correct name for the airpcap interface.
...
While there, clean up some whitespaces.
svn path=/trunk/; revision=38975
2011-09-12 13:39:14 +00:00
Michael Tüxen
c21ae05d4f
Fix the wireless settings button for AirPCap devices in the
...
Edit Interface dialog box.
Obtained from Irene Ruengeler.
svn path=/trunk/; revision=38974
2011-09-12 13:13:08 +00:00
Jörg Mayer
001d5b5989
"Fix" an unjustified gcc might-be-used-unused warning.
...
svn path=/trunk/; revision=38920
2011-09-07 17:26:03 +00:00
Stig Bjørlykke
f688ab434c
Remove unused code.
...
This fixes CID 1273 & 1274.
svn path=/trunk/; revision=38877
2011-09-03 21:22:42 +00:00
Martin Mathieson
358fbd6f5d
Add missing guard around access to interface_row.buffer.
...
svn path=/trunk/; revision=38849
2011-09-01 22:02:46 +00:00
Guy Harris
ade0c47d95
No pcap_create(), no monitor-mode APIs, no monitor-mode support.
...
svn path=/trunk/; revision=38847
2011-09-01 21:09:55 +00:00
Michael Tüxen
6fb53f8d20
When double clicking on an interface in the main welcome menu opens the edit interfaces
...
dialog box.
This was suggested by stig.
The patch was obtained by Irene Ruengeler.
svn path=/trunk/; revision=38845
2011-09-01 20:43:47 +00:00
Michael Tüxen
9deb732370
Improve the display of addresses in the Edit Interface Settings dialog
...
box.
Patch provided by Irene Ruengeler.
svn path=/trunk/; revision=38808
2011-08-30 21:46:17 +00:00
Michael Tüxen
283877c9a7
Using enabled/disabled instead of yes/no seems to be more descriptive.
...
svn path=/trunk/; revision=38555
2011-08-16 10:03:49 +00:00
Michael Tüxen
31fae9a126
Handle the case in the capture options dialog box
...
where no interfaces are available.
svn path=/trunk/; revision=38554
2011-08-16 09:35:14 +00:00
Michael Tüxen
0e4d01e183
Use better names.
...
Make sure that the dlt is always set.
svn path=/trunk/; revision=38548
2011-08-15 20:39:44 +00:00
Guy Harris
92c1858253
gtk_combo_box_set_active() takes a GtkComboBox *, not a GtkComboBoxText
...
*, as its argument.
svn path=/trunk/; revision=38535
2011-08-14 17:14:52 +00:00
Michael Tüxen
2d7dfd2e2d
Being loopback is an interface property, not an address property.
...
Display it as such.
svn path=/trunk/; revision=38531
2011-08-14 13:05:08 +00:00
Michael Tüxen
4e9dfbd55f
Preserve previous selected capture filters when opening the Edit Interface Settings
...
dialog box. This fixes a bug reported by Chris.
svn path=/trunk/; revision=38529
2011-08-14 11:58:05 +00:00
Michael Tüxen
cf2ad05140
Get rid of unused code.
...
svn path=/trunk/; revision=38528
2011-08-14 10:35:05 +00:00
Michael Tüxen
663fb7525f
Use address counter...
...
svn path=/trunk/; revision=38527
2011-08-14 10:22:31 +00:00
Michael Tüxen
473c12b676
Improve handling of remote interfaces.
...
svn path=/trunk/; revision=38526
2011-08-14 09:54:52 +00:00
Stig Bjørlykke
82dac06ce7
Count number of ip addresses and use this count to determine if we shall
...
print the addresses string in the devices list.
svn path=/trunk/; revision=38525
2011-08-14 09:29:47 +00:00
Michael Tüxen
6ec2a9b199
Improve the resizing of the capture options dialog box.
...
This was suggested by Stig.
svn path=/trunk/; revision=38524
2011-08-14 08:54:53 +00:00
Guy Harris
6654a8fb3c
Don't map "no interfaces" to "none" and then back to an empty string;
...
just map it to an empty string.
svn path=/trunk/; revision=38522
2011-08-13 23:34:28 +00:00
Michael Tüxen
b3862dec4d
Don't print "none" if no addresses are available to save space.
...
Patch provided by Stig.
svn path=/trunk/; revision=38520
2011-08-13 20:47:48 +00:00
Michael Tüxen
fddc6c386a
Fix warnings reported by Bill.
...
svn path=/trunk/; revision=38519
2011-08-13 20:21:25 +00:00
Michael Tüxen
19c6de7ade
Some cleanup.
...
svn path=/trunk/; revision=38518
2011-08-13 20:12:27 +00:00
Michael Tüxen
9778785d61
Honor command line options in the capture options dialog.
...
svn path=/trunk/; revision=38516
2011-08-13 19:33:23 +00:00
Guy Harris
2511e53ace
Say "none" rather than "unknown" if there are no IP addresses; in most
...
if not all cases, it's not that we don't know the IP addresses, it's
that there are no IP addresses to know.
svn path=/trunk/; revision=38515
2011-08-13 19:21:02 +00:00
Guy Harris
0bf9fe65da
Call the column giving the link-layer header type "Link-layer header",
...
to describe it a bit more completely. (Note that it indicates what type
of link -layer headers you'll get, which isn't necessarily what type of
interface you have - an 802.11 interface might have a link-layer header
type of "Ethernet", for example.)
svn path=/trunk/; revision=38514
2011-08-13 19:09:18 +00:00
Michael Tüxen
9af31e0dce
Minor cleanup.
...
svn path=/trunk/; revision=38513
2011-08-13 18:26:19 +00:00
Michael Tüxen
64a6efe5d6
Improve handling of snaplen in capture options window.
...
svn path=/trunk/; revision=38508
2011-08-13 17:13:50 +00:00
Michael Tüxen
5dd17d9c98
Fix Windows builds (hopefully).
...
svn path=/trunk/; revision=38507
2011-08-13 16:57:46 +00:00
Michael Tüxen
bc90e7bf93
Make the monitor mode selectable only when supported by the interface.
...
This fixes a bug reported by Stig.
svn path=/trunk/; revision=38506
2011-08-13 15:49:24 +00:00
Michael Tüxen
93ebb2d936
Fix some warnings reported by Bill.
...
svn path=/trunk/; revision=38484
2011-08-11 12:58:37 +00:00
Michael Tüxen
06e88de947
Fix another issues related to the activity of the start button
...
in the capture options dialog.
svn path=/trunk/; revision=38483
2011-08-11 12:30:03 +00:00
Michael Tüxen
291fa19fbf
Fix a bug where the Start button of the capture options dialog
...
box was not activated when it should an vice versa.
Reported by Stig.
svn path=/trunk/; revision=38482
2011-08-11 12:06:35 +00:00
Michael Tüxen
2e48084fa6
Fix a bug which show up when enabling the snaplen.
...
svn path=/trunk/; revision=38480
2011-08-11 10:55:30 +00:00
Michael Tüxen
9986755780
Use only one line for the headers in the capture options dialog box.
...
Improvement suggested by Stig.
svn path=/trunk/; revision=38458
2011-08-10 20:30:34 +00:00
Michael Tüxen
50665311db
Use appropriate tooltip text for the OK button on the Edit Interface Settings dialog box.
...
Thanks to Stig for reporting the bug.
svn path=/trunk/; revision=38456
2011-08-10 19:49:41 +00:00
Michael Tüxen
45c65a93fa
Fix CID 1255.
...
svn path=/trunk/; revision=38455
2011-08-10 19:13:48 +00:00
Michael Tüxen
2864804064
Fix CID 1250.
...
svn path=/trunk/; revision=38454
2011-08-10 19:05:15 +00:00
Michael Tüxen
e7cebafe9d
Fix CID 1253.
...
svn path=/trunk/; revision=38453
2011-08-10 17:52:44 +00:00
Michael Tüxen
295f138d7b
Fix CID 1254.
...
svn path=/trunk/; revision=38452
2011-08-10 17:49:06 +00:00
Michael Tüxen
6111a7d1b9
Fix CID 1256.
...
svn path=/trunk/; revision=38451
2011-08-10 17:38:10 +00:00
Michael Tüxen
807d8a4592
Fix CID 1257.
...
While there clean up the code a bit.
svn path=/trunk/; revision=38450
2011-08-10 17:31:21 +00:00
Jörg Mayer
609b36f938
- Resolve a GTK_CHECK_VERSION(2,6,0) check. It's always true.
...
- Fix defined but not used warnings (turned errors) by surrounding
the code with HAVE_PCAP_REMOTE_NEVERTRUE. Let's see what breaks.
svn path=/trunk/; revision=38379
2011-08-06 15:39:50 +00:00
Michael Tüxen
0fdfa575ae
Some whitespace cleanups.
...
svn path=/trunk/; revision=38377
2011-08-06 13:22:51 +00:00
Michael Tüxen
761b0af787
Take out unused functions as reported by Joerg.
...
svn path=/trunk/; revision=38376
2011-08-06 12:40:19 +00:00