]> git.proxmox.com Git - mirror_iproute2.git/commit
lib: Dump ext-ack string by default
authorDavid Ahern <dsahern@gmail.com>
Wed, 9 Aug 2017 15:43:27 +0000 (08:43 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 9 Aug 2017 16:14:01 +0000 (09:14 -0700)
commitfb6cb30774a1b61db4ab1e6b972f1086f115cf5e
tree016ecb2773054409219d2a60c05d7b3b57003ecb
parentfcfcc40b7d19d8a5442d604de506844391103368
lib: Dump ext-ack string by default

In time, errfn can be implemented for link, route, etc commands to
give a much more detailed response (e.g., point to the attribute
that failed). Doing so is much more complicated to process the
message and convert attribute ids to names.

In any case the error string returned by the kernel should be dumped
to the user, so make that happen now.

Signed-off-by: David Ahern <dsahern@gmail.com>
lib/libnetlink.c