From 141bb48d76af38e841765f4a20563ed5065e59e4 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 13 Nov 2016 17:30:10 +0100 Subject: BGP: fix unused function 'ndpi_int_bgp_add_connection' [-Wunused-function] --- src/lib/protocols/bgp.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/lib/protocols') diff --git a/src/lib/protocols/bgp.c b/src/lib/protocols/bgp.c index 0ec6fa59c..a45514b7d 100644 --- a/src/lib/protocols/bgp.c +++ b/src/lib/protocols/bgp.c @@ -24,12 +24,6 @@ #ifdef NDPI_PROTOCOL_BGP - -static void ndpi_int_bgp_add_connection(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) -{ - ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_BGP, NDPI_PROTOCOL_UNKNOWN); -} - /* this detection also works asymmetrically */ void ndpi_search_bgp(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { -- cgit v1.2.3