diff options
author | Patrick McHardy <kaber@trash.net> | 2009-01-21 07:06:13 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@plip.localdomain> | 2009-01-21 09:01:39 (GMT) |
commit | f9071054d0f2512dea9e95f99c308e931ed78dba (patch) | |
tree | 880b2b9d64238c1b1403bd61311f18238119b596 | |
parent | 664e1deaeb59ad9db0b2eeec613cf8a93551f567 (diff) | |
download | libnl-f9071054d0f2512dea9e95f99c308e931ed78dba.zip libnl-f9071054d0f2512dea9e95f99c308e931ed78dba.tar.gz libnl-f9071054d0f2512dea9e95f99c308e931ed78dba.tar.bz2 |
libnl: fix socket function rename related build failure
Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r-- | src/nf-log.c | 2 | ||||
-rw-r--r-- | src/nf-monitor.c | 2 | ||||
-rw-r--r-- | src/nf-queue.c | 2 | ||||
-rw-r--r-- | src/nl-monitor.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/nf-log.c b/src/nf-log.c index d855efc..33a689b 100644 --- a/src/nf-log.c +++ b/src/nf-log.c @@ -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) { diff --git a/src/nf-monitor.c b/src/nf-monitor.c index 0113931..619254a 100644 --- a/src/nf-monitor.c +++ b/src/nf-monitor.c @@ -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")) { diff --git a/src/nf-queue.c b/src/nf-queue.c index 0ed9e69..ac2f4ea 100644 --- a/src/nf-queue.c +++ b/src/nf-queue.c @@ -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) { diff --git a/src/nl-monitor.c b/src/nl-monitor.c index 520ac37..19117a2 100644 --- a/src/nl-monitor.c +++ b/src/nl-monitor.c @@ -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")) { |