search for: ulogd_ret_ip6addr

Displaying 1 result from an estimated 1 matches for "ulogd_ret_ip6addr".

2017 Oct 19
0
[Bug 1192] New: ULOGD_RET_RAWSTR type is not listed on ulogd_key_size() and type_to_string()
...rn a 34 char long value, some possible solutions : 1. Make ulogd_key_size() return a length of 16 for the RAWSTR type as for the IP6ADDR type which would result in allocating 40 chars 2. Add on sql_createstmt() "elseif(key->type == ULOGD_RET_RAWSTR) { size += 35; }" 3. Use the ULOGD_RET_IP6ADDR type on IP2BIN (this type doesnt seems to be used anywhere else) and remove ULOGD_RET_RAWSTR ; this type would also need to be added to the __format_query_db switch() on db.c The first 2 solution might be problematic if RAWSTR is used by other plugins to store lengthier informations. Patch pr...