summaryrefslogtreecommitdiffstats
path: root/src/external_inject.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/external_inject.c')
-rw-r--r--src/external_inject.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/external_inject.c b/src/external_inject.c
index a54bb13..56e24a3 100644
--- a/src/external_inject.c
+++ b/src/external_inject.c
@@ -145,8 +145,10 @@ static void external_inject_dump(int fd, int type)
{
}
-static void external_inject_commit(struct nfct_handle *h, int fd)
+static int external_inject_commit(struct nfct_handle *h, int fd)
{
+ /* close the commit socket. */
+ return LOCAL_RET_OK;
}
static void external_inject_flush(void)