Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion PlaybackWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
***************************************************************************/

#include <stdio.h>
#include <unistd.h>
#include <pcap.h>
#include <pthread.h>

Expand Down Expand Up @@ -643,7 +644,7 @@ PlaybackWindow::onOpen(FXObject *, FXSelector, void*)
#else
// Use the Fox File open dialog.
FXFileDialog *dlg = new FXFileDialog(this, "Open PCAP File");
dlg->setPatternList("TCPDump Files (*.dump,*.tcpdump,*.pcap)\nAll Files (*)");
dlg->setPatternList("TCPDump Files (*.dump,*.tcpdump,*.pcap,*.pcapng)\nAll Files (*)");
res = dlg->execute();
strncpy(filename, dlg->getFilename().text(), sizeof(filename));
filename[sizeof(filename)-1] = '\0';
Expand Down
4 changes: 2 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To install the 3rd party dependencies on an Ubuntu system, GCC must first be
installed. If it has not already been installed, run:
sudo apt-get install build-essential
Then run the following:
sudo apt-get install libfox-dev libpcap-dev cmake
sudo apt-get install libfox-1.6-dev libpcap-dev cmake

To build the software, run the following commands from inside the source
distribution:
Expand All @@ -30,7 +30,7 @@ distribution:
sudo make install

Run the software by running the following from the command line:
playcap
sudo playcap

Mac OS X
---------
Expand Down