summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/cache/0001_cache_handling_0
diff options
context:
space:
mode:
authorEric Garver <eric@garver.life>2019-05-10 08:29:47 -0400
committerPablo Neira Ayuso <pablo@netfilter.org>2019-05-12 20:22:36 +0200
commit47ffae232aeaadca37293861d52a11f907d6b768 (patch)
tree010b09b01bc59c030ace343a032999961821f305 /tests/shell/testcases/cache/0001_cache_handling_0
parentd3869cae9d6232b9f3fa720e5516ece95fdbe73e (diff)
py: fix missing decode/encode of strings
When calling ffi functions, if the string is unicode we need to convert to utf-8. Then convert back for any output we receive. Fixes: 586ad210368b7 ("libnftables: Implement JSON parser") Signed-off-by: Eric Garver <eric@garver.life> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/cache/0001_cache_handling_0')
0 files changed, 0 insertions, 0 deletions