summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-22 14:22:02 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-06-25 10:02:48 -0400
commit9bdf861803dd019bc706b5714b04440c6f8696bb (patch)
treeb8de645144c888e95cce37e2b4a5e0f86bfa5f37 /lib/command_py.c
parent3a743cb7ec5fd1e91e0803487c606cf63e54c22b (diff)
zebra: Add error messages in places where we have a decode problem
When we receive a netlink message from the kernel we have handler functions for when we send a netlink command, if these return a failure ( < 0 ) then we output that we had a parse issue. But if all we get is: 2018-06-21T23:47:45.298156+00:00 qct-ix1-08 zebra[1484]: netlink-cmd (NS 0) filter function error Then it is not very useful to figure out *where* the error happened. Add more error code when in a decode path to hopefully allow us to figure out where this message is coming from. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions