]> git.puffer.fish Git - mirror/frr.git/commit
lib: grpc: fix handling of "empty" yang type 10741/head
authorChristian Hopps <chopps@labn.net>
Sun, 6 Mar 2022 16:58:26 +0000 (11:58 -0500)
committerChristian Hopps <chopps@labn.net>
Sun, 6 Mar 2022 17:00:22 +0000 (12:00 -0500)
commitfe095adc24a91eef3265ac803bb805cd297b3522
tree8017d431beb234b545595ef95472f6b337686f75
parent83f6fce7d2fece4617bd85e3da0894fc820dab8d
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>
lib/northbound_grpc.cpp