]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: combine extended netlink error reporting with mispelling support
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 18 Feb 2020 11:59:24 +0000 (12:59 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 19 Feb 2020 16:28:52 +0000 (17:28 +0100)
commit3a0e07106f666df82925aa3fb2eb5937245c9819
tree4c17d78ae8c2b05d4a033b91eca94aa33fd6dec3
parentf8aec603aa7e9dad1316079d42c7efcc52b773fa
src: combine extended netlink error reporting with mispelling support

Preliminary support: only for the deletion command, e.g.

 # nft delete table twst
 Error: No such file or directory; did you mean table ‘test’ in family ip?
 delete table twst
              ^^^^

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/Makefile.am
src/cmd.c [new file with mode: 0644]
src/libnftables.c