summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/route/neightbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/neightbl.c b/lib/route/neightbl.c
index 7725482..1efa5cb 100644
--- a/lib/route/neightbl.c
+++ b/lib/route/neightbl.c
@@ -143,7 +143,7 @@ static int neightbl_msg_parser(struct nl_cache_ops *ops,
ntbl->nt_family = rtmsg->rtgen_family;
if (tb[NDTA_NAME] == NULL) {
- return -NLE_MISSING_ATTR;
+ err = -NLE_MISSING_ATTR;
goto errout;
}