23 Nov
2016
23 Nov
'16
9:07 a.m.
On Nov 23, 2016, at 8:56 AM, Fabrice Durand <fdurand@inverse.ca> wrote:
Ok so i tested with the patch and it looks to be the same.
Wed Nov 23 08:40:39 2016 : Debug: (1) Cisco-AVPair = "dhcp-option=\0007\000\r\001\017\003\006,./\037!y\371\374+"
Wed Nov 23 08:40:39 2016 : Debug: (1) rest: Value : "dhcp-option=\u00007\u0000\r\u0001\u000F\u0003\u0006,.\/\u001F!y\uFFFFFFF9\uFFFFFFFC+"
I also noticed in the code that the function vp_prints_value_json is use instead of jsonquote_xlat so i did the following patch:
OK. I've pushed the patches, thanks. Alan DeKok.