ntop / nDPI

Open Source Deep Packet Inspection Software Toolkit
http://www.ntop.org
GNU Lesser General Public License v3.0
3.86k stars 902 forks source link

ndpi_serialize_uint32_float function is doubly declared since 4.6 in ndpi_api.h #2478

Closed anshulthakur closed 5 months ago

anshulthakur commented 5 months ago

ndpi_serialize_uint32_double function is doubly declared since 4.6 in ndpi_api.h at lines 1341, and 1351 (4.8-stable branch). In an external application, this is causing the compiler to complain about multiple declarations.

-- Update

ndpi_serialize_uint32_double, not ndpi_serialize_uint32_float

IvanNardi commented 5 months ago

Good catch; same issue on master... @anshulthakur, are you going to push a PR yourself to fix it?

anshulthakur commented 5 months ago

Right, will create a PR :)