Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Paul Warren
iftop
Commits
ebb28db1
Commit
ebb28db1
authored
Aug 27, 2003
by
pdw
Browse files
Mac OS X fixes.
parent
fc967957
Changes
4
Hide whitespace changes
Inline
Side-by-side
AUTHORS
View file @
ebb28db1
...
...
@@ -7,4 +7,5 @@ Chris Lightfoot, chris@ex-parrot.com
Mangled for Solaris by
Jonathan Abbey, jonabbey@ganymeta.org
\ No newline at end of file
Jonathan Abbey, jonabbey@ganymeta.org
ChangeLog
View file @
ebb28db1
Change log for iftop
$Id$
Attributions apply to all preceding items up to the next blank line.
Unattributed items are by Paul Warren and Chris Lightfoot.
0.14
* Configure/compilation fixes for Mac OS X
* MacOS interfaces to avoid by default
Siri Dhyan Singh <sirid@positivemind.com>
0.13 11/06/03
* Fixed configure.in to properly specify libraries without the leading -l
...
...
config/pthread.c
View file @
ebb28db1
...
...
@@ -24,7 +24,7 @@ void *worker_thread(void *v) {
pthread_cond_signal
(
&
cond
);
pthread_mutex_unlock
(
&
mtx
);
while
(
1
)
p
ause
();
p
thread_testcancel
();
}
/* Start a thread, and have it set a variable to some other value, then signal
...
...
options.c
View file @
ebb28db1
...
...
@@ -40,6 +40,8 @@ char optstr[] = "+i:f:nN:hpbBP";
static
char
*
bad_interface_names
[]
=
{
"lo:"
,
"lo"
,
"stf"
,
/* pseudo-device 6to4 tunnel interface */
"gif"
,
/* psuedo-device generic tunnel interface */
"dummy"
,
"vmnet"
,
NULL
/* last entry must be NULL */
...
...
@@ -144,7 +146,7 @@ static void set_net_filter(char* arg) {
options
.
netfiltermask
.
s_addr
=
htonl
(
0xffffffffl
);
}
else
{
uint32_t
mm
=
0xffffffffl
;
u
_
int32_t
mm
=
0xffffffffl
;
mm
>>=
n
;
options
.
netfiltermask
.
s_addr
=
htonl
(
~
mm
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment