1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00
Julien Fortin 5b26c29724 nlmanager: changing messages logged and raised when RXed NLMSG_ERROR
Ticket: None
Reviewed By: Roopa, Nikhil G, Daniel
Testing Done: ifupdown2 smokes

The message logged and the exception raised by nlmanager, when receiving
an NLMSG_ERROR packet from the kernel, wasn't super explicit plus if the
error wasn't a netlink related failure we didn't provide any information
Now we use strerror with the provided error code to generate a nice msg.

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-08-11 02:41:29 +02:00
..

DO NOT EDIT NLMANAGER SOURCES.
This is a mirror copy of python-nlmanager sources.
It was extracted and directly included here to support some usecases where
user don't have python-nlmanager already installed on their system. So we
decided to have local copy and build with it. It is the mainter responsability
to keep an updated version of nlmanager.