diff options
author | Nicolas PLANEL <nicolas.planel@enovance.com> | 2014-08-26 11:34:40 -0400 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-08-27 13:00:46 +0200 |
commit | 06140c3ec9f0ab952fb42f112be7143d69688984 (patch) | |
tree | 21791b2f2915b143bf696dc6adba9c1fd2e353e6 /lib/xfrm/sa.c | |
parent | 77bbf2270ce7c166c87933dc2d70e9619bf6b6e3 (diff) | |
download | libnl-06140c3ec9f0ab952fb42f112be7143d69688984.tar.gz |
xfrm: fix xfrm_sa_msg_parser() to return the value from the callback
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'lib/xfrm/sa.c')
-rw-r--r-- | lib/xfrm/sa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xfrm/sa.c b/lib/xfrm/sa.c index 9b5ea9d2..693eee47 100644 --- a/lib/xfrm/sa.c +++ b/lib/xfrm/sa.c @@ -990,7 +990,7 @@ static int xfrm_sa_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who, err = pp->pp_cb((struct nl_object *) sa, pp); xfrmnl_sa_put(sa); - return 0; + return err; } /** |