]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Allow json to work across different versions.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 3 Dec 2016 01:39:24 +0000 (20:39 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:18 +0000 (20:26 -0500)
commit8474f80e5ab01c4d8a221f3ff9ec35b213813784
treeda0f10ec710a0c9710c199ef1f997d1bf8b6a154
parent3e5e42252e269f52dbdbd8c9866cb0c63b5cfcd5
lib: Allow json to work across different versions.

The json_object_object_get_ex function is not fully available
across all versions of json.  Write a wrapper to allow
it to work.

Ticket: CM-13872
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/json.c
lib/json.h