diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-10-16 17:13:28 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-10-16 17:13:28 -0300 |
| commit | 07705c8b8a8650c499c74a2b365caf6bd0c7db2e (patch) | |
| tree | bb6b267daa58e125ad3fb7068663734e29cd57df /lib/northbound_grpc.cpp | |
| parent | 62ae9adeef7cc88918b049a2e1d71086b408f032 (diff) | |
lib: silence compiler warning in the gRPC plugin
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/northbound_grpc.cpp')
| -rw-r--r-- | lib/northbound_grpc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/northbound_grpc.cpp b/lib/northbound_grpc.cpp index 218cae4e74..089899368d 100644 --- a/lib/northbound_grpc.cpp +++ b/lib/northbound_grpc.cpp @@ -616,6 +616,11 @@ class NorthboundImpl final : public frr::Northbound::Service return LYD_JSON; case frr::XML: return LYD_XML; + default: + flog_err(EC_LIB_DEVELOPMENT, + "%s: unknown data encoding format (%u)", + __func__, encoding); + exit(1); } } |
