Enlarged buffer for JSON deseriealization

This commit is contained in:
Luca Deri 2015-10-09 09:55:41 +02:00
parent 54ceed49e8
commit 4d009978eb
2 changed files with 5 additions and 5 deletions

View file

@ -130,7 +130,7 @@ class Host : public GenericHost {
void incHitter(Host *peer, u_int64_t sent_bytes, u_int64_t rcvd_bytes);
void updateHostTrafficPolicy(char *key);
char* serialize();
bool deserialize(char *json_str);
bool deserialize(char *json_str, char *key);
bool addIfMatching(lua_State* vm, patricia_tree_t * ptree, char *key);
void updateSynFlags(time_t when, u_int8_t flags, Flow *f, bool syn_sent);