diff --git a/lib/cache_mngr.c b/lib/cache_mngr.c index 8dbfaf4..0675316 100644 --- a/lib/cache_mngr.c +++ b/lib/cache_mngr.c @@ -172,7 +172,7 @@ int nl_cache_mngr_alloc(struct nl_sock *sk, int protocol, int flags, event_input, mngr); /* Required to receive async event notifications */ - nl_disable_sequence_check(mngr->cm_handle); + nl_socket_disable_seq_check(mngr->cm_handle); if ((err = nl_connect(mngr->cm_handle, protocol) < 0)) goto errout; diff --git a/lib/nl.c b/lib/nl.c index eeebe14..15c3ede 100644 --- a/lib/nl.c +++ b/lib/nl.c @@ -115,7 +115,7 @@ int nl_connect(struct nl_sock *sk, int protocol) } if (!(sk->s_flags & NL_SOCK_BUFSIZE_SET)) { - err = nl_set_buffer_size(sk, 0, 0); + err = nl_socket_set_buffer_size(sk, 0, 0); if (err < 0) goto errout; }