Closed fateme81 closed 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 ?
Solved by using make clean before make
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 ?