summaryrefslogtreecommitdiff
path: root/dissector_eth.c
diff options
context:
space:
mode:
authorMarkus Amend <markus.amend@telekom.de>2018-01-12 08:27:12 +0100
committerTobias Klauser <tklauser@distanz.ch>2018-01-12 10:37:55 +0100
commit92609553c7c6da3214482b1f39bef7cce41a6fdf (patch)
treec8eb1ad53564a149f04003f7bae49854bfaa81ed /dissector_eth.c
parent5bef83d56ab496a7d1f039e0ffc9c52828164d56 (diff)
netsniff-ng: add DCCP support
Adds a first rudimentary support for the DCCP protocol. Signed-off-by: Markus Amend <markus.amend@telekom.de> [tk: minor formatting tweaks] Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'dissector_eth.c')
-rw-r--r--dissector_eth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dissector_eth.c b/dissector_eth.c
index 7041aac..3a93f40 100644
--- a/dissector_eth.c
+++ b/dissector_eth.c
@@ -57,6 +57,7 @@ static void dissector_init_layer_3(int type)
INSERT_HASH_PROTOS(ipv6_routing_ops, eth_lay3);
INSERT_HASH_PROTOS(tcp_ops, eth_lay3);
INSERT_HASH_PROTOS(udp_ops, eth_lay3);
+ INSERT_HASH_PROTOS(dccp_ops, eth_lay3);
for_each_hash_int(&eth_lay3, dissector_set_print_type, type);
}