libnl: fix socket function rename related build failure

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2009-01-21 08:06:13 +01:00 committed by Thomas Graf
parent 664e1deaeb
commit f9071054d0
4 changed files with 4 additions and 4 deletions

View file

@ -45,7 +45,7 @@ int main(int argc, char *argv[])
int family;
nf_sock = nlt_alloc_socket();
nl_disable_sequence_check(nf_sock);
nl_socket_disable_seq_check(nf_sock);
nl_socket_modify_cb(nf_sock, NL_CB_VALID, NL_CB_CUSTOM, event_input, NULL);
if ((argc > 1 && !strcasecmp(argv[1], "-h")) || argc < 3) {

View file

@ -51,7 +51,7 @@ int main(int argc, char *argv[])
};
sock = nlt_alloc_socket();
nl_disable_sequence_check(sock);
nl_socket_disable_seq_check(sock);
nl_socket_modify_cb(sock, NL_CB_VALID, NL_CB_CUSTOM, event_input, NULL);
if (argc > 1 && !strcasecmp(argv[1], "-h")) {

View file

@ -51,7 +51,7 @@ int main(int argc, char *argv[])
if (nf_sock == NULL)
fatal(ENOBUFS, "Unable to allocate netlink socket");
nl_disable_sequence_check(nf_sock);
nl_socket_disable_seq_check(nf_sock);
nl_socket_modify_cb(nf_sock, NL_CB_VALID, NL_CB_CUSTOM, event_input, NULL);
if ((argc > 1 && !strcasecmp(argv[1], "-h")) || argc < 3) {

View file

@ -62,7 +62,7 @@ int main(int argc, char *argv[])
};
sock = nlt_alloc_socket();
nl_disable_sequence_check(sock);
nl_socket_disable_seq_check(sock);
nl_socket_modify_cb(sock, NL_CB_VALID, NL_CB_CUSTOM, event_input, NULL);
if (argc > 1 && !strcasecmp(argv[1], "-h")) {