diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-03-24 13:00:07 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-03-24 20:49:37 +0000 |
commit | a4aa8930bb47296704a4689cdbfa8f5b8b3f550f (patch) | |
tree | fe563c1aeafdd8064dcadfb472fa62cf18f0fbfb /extcap | |
parent | 67bd2cc511bc081b51b649c22240f5ca81383dc6 (diff) |
Put pcapio.c into a writecap library, and use it.
Change-Id: Ib89f345c072a38bc01f0513366a4bdae3bf6f08e
Reviewed-on: https://code.wireshark.org/review/14615
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'extcap')
-rw-r--r-- | extcap/Makefile.am | 2 | ||||
-rw-r--r-- | extcap/Makefile.nmake | 1 | ||||
-rw-r--r-- | extcap/ciscodump.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/extcap/Makefile.am b/extcap/Makefile.am index d4fee3baa1..ba5ee694e0 100644 --- a/extcap/Makefile.am +++ b/extcap/Makefile.am @@ -88,7 +88,7 @@ endif # Libraries and plugin flags with which to link ciscodump. ciscodump_LDADD = \ - ../wiretap/libwiretap.la \ + ../writecap/libwritecap.a \ ../wsutil/libwsutil.la \ @GLIB_LIBS@ \ @LIBSSH_LIBS@ \ diff --git a/extcap/Makefile.nmake b/extcap/Makefile.nmake index 4eea2b628b..57db68e8ff 100644 --- a/extcap/Makefile.nmake +++ b/extcap/Makefile.nmake @@ -65,6 +65,7 @@ ciscodump_OBJECTS = $(ciscodump_SOURCES:.c=.obj) ciscodump_WSLIBS = \ ..\wiretap\wiretap-$(WTAP_VERSION).lib \ + ..\writecap\libwritecap.lib \ ..\wsutil\libwsutil.lib ciscodump_LIBS = $(ciscodump_WSLIBS) \ diff --git a/extcap/ciscodump.c b/extcap/ciscodump.c index 97965d0bda..1db3f65662 100644 --- a/extcap/ciscodump.c +++ b/extcap/ciscodump.c @@ -27,7 +27,7 @@ #include <extcap/extcap-base.h> #include <wsutil/interface.h> #include <extcap/ssh-base.h> -#include <pcapio.h> +#include <writecap/pcapio.h> #include <errno.h> #include <string.h> |