diff options
Diffstat (limited to 'src/ipaccess/abisip-find.c')
-rw-r--r-- | src/ipaccess/abisip-find.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ipaccess/abisip-find.c b/src/ipaccess/abisip-find.c index e5e12810c..7084617d2 100644 --- a/src/ipaccess/abisip-find.c +++ b/src/ipaccess/abisip-find.c @@ -288,7 +288,11 @@ static char *parse_response(void *ctx, unsigned char *buf, int len) t_len = *cur++; t_tag = *cur++; - if (t_tag != IPAC_IDTAG_IPADDR) { + if (t_tag != IPAC_IDTAG_IPADDR + // hide sensitive info on 36c3 + && (t_tag == IPAC_IDTAG_IPADDR + || t_tag == IPAC_IDTAG_UNIT + || t_tag == IPAC_IDTAG_LOCATION2)) { if (cmdline_opts.format_json) out = talloc_asprintf_append(out, "\"%s\": \"%s\", ", idtag_name(t_tag), cur); else |