]> git.puffer.fish Git - mirror/frr.git/commit
lib: grpc: fix handling of "empty" yang type 10752/head
authorChristian Hopps <chopps@labn.net>
Sun, 6 Mar 2022 16:58:26 +0000 (11:58 -0500)
committermergify-bot <noreply@mergify.com>
Mon, 7 Mar 2022 19:49:18 +0000 (19:49 +0000)
commit5547b4a3293008ea48d179dc1f8590b5a3fcfc83
treeaff7a257105eb3f17f3f3018d377b6ef3695a1f7
parentad748cf74f45f9159c12bb426ded1f70b48dedab
lib: grpc: fix handling of "empty" yang type

- rather than coerce `const char *` to std:string&, just pass the
C ptr, as that's what is used anyway.

fixes #10578

Signed-off-by: Christian Hopps <chopps@labn.net>
(cherry picked from commit fe095adc24a91eef3265ac803bb805cd297b3522)
lib/northbound_grpc.cpp