utoni / nDPId

Tiny nDPI based deep packet inspection daemons / toolkit.
GNU General Public License v3.0
67 stars 15 forks source link

I can not change source of ndpi #25

Closed fateme81 closed 1 year ago

fateme81 commented 1 year ago

I need to change name of field "proto_by_ip" field in json log, and to that end i go to nDPId/libnDPI/src/lib/ndpi_utils.c

in ndpi_serialize_proto function :

ndpi_serialize_string_string(serializer, "protocol_by_ip", ndpi_get_proto_name(ndpi_struct, l7_protocol.protocol_by_ip));

After i change this line I run command make in nDPId/libnDPI but nothing changes when I run nDPId

where i am going wrong ?

fateme81 commented 1 year ago

Solved by using make clean before make