summaryrefslogtreecommitdiff
path: root/netsniff-ng/Makefile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-06-13 14:53:00 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-06-13 15:01:13 +0200
commit1cc762aa8f89a5e4324f1482d97affa5ef6298bd (patch)
tree17e75a3aaf2c8564a06e1619e2e5ace481a1cfc0 /netsniff-ng/Makefile
parent8130ced723d3226b1f4b1b83bb12c9e26b9d02d1 (diff)
lookup: Move UDP/TCP port and Ethernet type lookup into own module
Up to now, the lookup of TCP/UDP port names and Ethernet types was tightly integrated with the dissector infrastructure, since it is its main user. However, flowtop also makes use of the name lookup functionality without needing the actual dissector infrastructure. Thus, the basic dissector infrastructure also needs to be linked into flowtop without actually being used. Fix this by extracting the port/ethertype lookup into an own module which can then be used either directly (for flowtop) or as part of the dissector infrastructure (for netsniff-ng). This also reverts the quick & dirty fix introduced in commit f3322c6 ("flowtop: Include netlink dissector to fix build temporarily"). Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng/Makefile')
-rw-r--r--netsniff-ng/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/netsniff-ng/Makefile b/netsniff-ng/Makefile
index 745bb1d..c89d32b 100644
--- a/netsniff-ng/Makefile
+++ b/netsniff-ng/Makefile
@@ -14,6 +14,7 @@ netsniff-ng-objs = dissector.o \
dissector_eth.o \
dissector_80211.o \
dissector_netlink.o \
+ lookup.o \
proto_arp.o \
proto_ethernet.o \
proto_icmpv4.o \