]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: move socket open and reopen to mnl.c
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 23 Oct 2018 16:24:31 +0000 (18:24 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 23 Oct 2018 16:26:05 +0000 (18:26 +0200)
commitf1c2ace2631fa691b81a181bbbf2a3b29b0e69f6
tree50c444c0643c68233a6bc3732f44d1b98e7d4cdb
parentb83dd8ff56ff9f3170ebec52aeebb7a3a62c9dc7
src: move socket open and reopen to mnl.c

These functions are part of the mnl backend, move them there. Remove
netlink_close_sock(), use direct call to mnl_socket_close().

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/mnl.h
include/netlink.h
src/libnftables.c
src/mnl.c
src/netlink.c
src/rule.c