diff options
Diffstat (limited to 'src/lib/protocols/bgp.c')
-rw-r--r-- | src/lib/protocols/bgp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/bgp.c b/src/lib/protocols/bgp.c index 71cdd1902..ed8e94e66 100644 --- a/src/lib/protocols/bgp.c +++ b/src/lib/protocols/bgp.c @@ -31,7 +31,7 @@ /* this detection also works asymmetrically */ void ndpi_search_bgp(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { - struct ndpi_packet_struct *packet = &flow->packet; + struct ndpi_packet_struct *packet = &ndpi_struct->packet; u_int16_t bgp_port = htons(179); NDPI_LOG_DBG(ndpi_struct, "search BGP\n"); |