From f3322c651a75948c2a562be6cda62b4fc2bf0a89 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 13 Jun 2014 11:10:38 +0200 Subject: flowtop: Include netlink dissector to fix build temporarily flowtop links in the dissector modules just for the TC/UDP port lookup feature. Since dissector.h now includes libnl headers, we also need to include the libnl CFLAGS for flowtop build and thus also make it depend on libnl. The real fix for this in the future would be to extract the port lookup from dissector_eth.c and the just link in this module into flowtop instead of the entire dissector stuff. Signed-off-by: Tobias Klauser --- flowtop/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'flowtop/Makefile') diff --git a/flowtop/Makefile b/flowtop/Makefile index 03f628e..fcef59e 100644 --- a/flowtop/Makefile +++ b/flowtop/Makefile @@ -21,6 +21,7 @@ flowtop-objs = xmalloc.o \ hash.o \ dissector_eth.o \ dissector_80211.o \ + dissector_netlink.o \ dissector.o \ proto_none.o \ tprintf.o \ @@ -31,7 +32,8 @@ ifeq ($(CONFIG_GEOIP), 1) flowtop-objs += geoip.o endif -flowtop-eflags = $(shell pkg-config --cflags ncurses) +flowtop-eflags = $(shell pkg-config --cflags ncurses) \ + $(shell pkg-config --cflags libnl-3.0) flowtop-confs = tcp.conf \ udp.conf \ -- cgit v1.2.3-54-g00ecf