diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2005-12-13 22:48:58 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2005-12-13 22:48:58 +0000 |
commit | 79217bab2ebb0d2811e130bea6334c8227a88a28 (patch) | |
tree | c1eaf102b2b809cf7c36ee980beae74a5db9121b /Makefile.common | |
parent | 459c0b07b205939f0ffd339b7c4b18843fcc9d1f (diff) | |
download | wireshark-79217bab2ebb0d2811e130bea6334c8227a88a28.tar.gz wireshark-79217bab2ebb0d2811e130bea6334c8227a88a28.tar.bz2 wireshark-79217bab2ebb0d2811e130bea6334c8227a88a28.zip |
HUGE STEP (hopefully toward the right direction):
remove a lot of redundant code from tethereal and use (move) stuff from capture_loop.c instead.
concentrate common capture related code in capture_opts.c, e.g. trying to find the right interface to capture from (command line option, preference, first usable) instead of duplicating this code over several files.
remove redundant code from dumpcap.c
this also implements command line option -D (and indexed interfaces at -i) for Ethereal and Dumpcap (as we have it in Tethereal already for a while)
svn path=/trunk/; revision=16787
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index 4e4b3abce7..a6f5c7954c 100644 --- a/Makefile.common +++ b/Makefile.common @@ -178,6 +178,7 @@ tethereal_SOURCES = \ $(ETHEREAL_COMMON_SRC) \ $(TETHEREAL_TAP_SRC) \ capture_opts.c \ + capture_loop.c \ tethereal-tap-register.c \ tethereal.c |