Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions modules/dispatcher/dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
#include "ds_bl.h"
#include "ds_clustering.h"

#include "../../redact_pii.h"

#define DS_TABLE_VERSION 9

extern ds_partition_t *partitions;
Expand Down Expand Up @@ -2398,7 +2400,7 @@ int ds_is_in_list(struct sip_msg *_m, str *_ip, int port, int set,
char *pattern = NULL;

if (!(ip = str2ip(_ip)) && !(ip = str2ip6(_ip))) {
LM_ERR("IP val is not IP <%.*s>\n", _ip->len, _ip->s);
LM_ERR("IP val is not IP <%.*s>\n", _ip->len, redact_pii(_ip->s));
return -1;
}

Expand Down Expand Up @@ -2924,7 +2926,7 @@ int ds_push_script_attrs(struct sip_msg *_m, str *script_attrs,
int j,k;

if (!(ip = str2ip(_ip)) && !(ip = str2ip6(_ip))) {
LM_ERR("IP val is not IP <%.*s>\n",_ip->len,_ip->s);
LM_ERR("IP val is not IP <%.*s>\n",_ip->len,redact_pii(_ip->s));
return -1;
}

Expand Down
Loading