""
This commit is contained in:
4
Makefile
4
Makefile
@@ -28,13 +28,13 @@ MANDIR = man
|
|||||||
|
|
||||||
# You shouldn't need to change anything below this point.
|
# You shouldn't need to change anything below this point.
|
||||||
VERSION = 0.1
|
VERSION = 0.1
|
||||||
CFLAGS += -g -Wall "-DIFTOP_VERSION=\"$(IFTOPVERSION)\""
|
CFLAGS += -g -Wall "-DIFTOP_VERSION=\"$(VERSION)\""
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
LDLIBS += -lpcap -lpthread -lcurses -lm
|
LDLIBS += -lpcap -lpthread -lcurses -lm
|
||||||
|
|
||||||
SRCS = iftop.c addr_hash.c hash.c ns_hash.c resolver.c ui.c util.c sorted_list.c
|
SRCS = iftop.c addr_hash.c hash.c ns_hash.c resolver.c ui.c util.c sorted_list.c
|
||||||
HDRS = addr_hash.h hash.h iftop.h ns_hash.h resolver.h sorted_list.h ui.h
|
HDRS = addr_hash.h hash.h iftop.h ns_hash.h resolver.h sorted_list.h ui.h
|
||||||
TXTS = README INSTALL TODO iftop.8
|
TXTS = README CHANGES INSTALL TODO iftop.8
|
||||||
|
|
||||||
OBJS = $(SRCS:.c=.o)
|
OBJS = $(SRCS:.c=.o)
|
||||||
|
|
||||||
|
|||||||
4
README
Normal file
4
README
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
README for iftop
|
||||||
|
$Id$
|
||||||
|
|
||||||
|
Read the INSTALL file, manual page and source code for more information.
|
||||||
2
iftop.c
2
iftop.c
@@ -240,7 +240,7 @@ void usage(FILE *fp) {
|
|||||||
" -f filter code use filter code to select packets to count\n"
|
" -f filter code use filter code to select packets to count\n"
|
||||||
" (default: none, but only IP packets are counted)\n"
|
" (default: none, but only IP packets are counted)\n"
|
||||||
"\n"
|
"\n"
|
||||||
"iftop, $Id$\n"
|
"iftop, version " IFTOP_VERSION "copyright (c) 2002 Paul Warren <pdw@ex-parrot.com>\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user