summaryrefslogtreecommitdiffstats
path: root/src/nfct-extensions/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nfct-extensions/helper.c')
-rw-r--r--src/nfct-extensions/helper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nfct-extensions/helper.c b/src/nfct-extensions/helper.c
index 894bf26..3d32703 100644
--- a/src/nfct-extensions/helper.c
+++ b/src/nfct-extensions/helper.c
@@ -229,6 +229,9 @@ static int nfct_cmd_helper_add(struct mnl_socket *nl, int argc, char *argv[])
portid = mnl_socket_get_portid(nl);
if (nfct_mnl_talk(nl, nlh, seq, portid, NULL, NULL) < 0) {
nfct_perror("netlink error");
+ if (errno == EBUSY)
+ fprintf(stderr,
+ "Maybe unload nf_conntrack_%s.ko first?\n", argv[3]);
return -1;
}