Commit Graph

15 Commits

Author SHA1 Message Date
Jason Antman
7f02b84ced fixes #119 - add support for pcap capture filters 2017-08-27 09:07:44 -04:00
anomen
b27fb233e4 fix compiler warning - type of refreshdelay 2017-01-01 21:24:42 +01:00
Arnout Engelen
ff82eebb6b Merge pull request #108 from anomen-s/issue-23-r
Add -l option to show full command line (fixes #23)
2017-01-01 21:20:18 +01:00
Arnout Engelen
cfc83336c9 Merge pull request #106 from anomen-s/doc-for-a-option
fix docs of -a option
2016-12-13 15:39:25 +01:00
anomen
5e2c35700b Add -l option to show full command line (fixes #23) 2016-12-05 08:23:50 +01:00
anomen
276d648c33 fix docs of -a option 2016-11-21 21:42:07 +01:00
Arnout Engelen
5400ed3af1 Better error message when dispatching fails
In #104 an error while dispatching is logged, but gives insufficient context
to explain the problem.
2016-11-19 21:00:47 +01:00
Arnout Engelen
8e9de7a17d Remove confusing 'waiting for first packet' message
Users are unlikely to run into this problem anymore, and
might get confused when seeing this message when there's
actually nothing wrong.
2016-11-12 18:29:41 +01:00
rain1
30f1072946 * src/main.cpp: Bug fix - nul terminate the result of readlink after checking for failure. 2016-04-18 18:34:08 +01:00
rain1
b6a595ae00 * src/main.cpp: Made cap test conditional on __linux__. Improved the error message.
* src/nethogs.cpp: Reduced the scope of the includes moving them out of this file.
* src/nethogs.h: Removed NEEDROOT variable.
2016-04-18 18:04:37 +01:00
rain1
b2f008c568 * src/nethogs.h: Undo accidental commit.
* src/main.cpp: Properly commit this change.
2016-04-14 12:41:34 +00:00
rain1
a5fbdc1910 * src/main.cpp: Make the capability imports conditional.
* src/nethogs.cpp: Make the capability check conditional. Bug fix in the != test.
2016-04-14 12:15:48 +00:00
rain1
c0dd0e2e0c * src/main.cpp: Bug fix, misnamed a variable. 2016-04-14 12:02:04 +00:00
rain1
43c98c68be * src/main.cpp: Include header files for capabilities and attrs.
* src/nethogs.cpp: Add code to read and parse file attrs, and check for the required capabilities in the non-root case.
2016-04-14 11:49:55 +00:00
Arnout Engelen
e7a74b00fb Move sources to 'src' directory 2016-03-27 23:14:33 +02:00