aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-11-13 17:30:10 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-11-13 18:22:03 +0100
commit141bb48d76af38e841765f4a20563ed5065e59e4 (patch)
treeeb1ba640f0e3fea8b7b9d4c645afb74378e4f6a0 /src
parent85bb227b4575c348658e5c5494b75d16887cb1d9 (diff)
BGP: fix unused function 'ndpi_int_bgp_add_connection' [-Wunused-function]
Diffstat (limited to 'src')
-rw-r--r--src/lib/protocols/bgp.c6
1 files changed, 0 insertions, 6 deletions
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)
{