diff options
Diffstat (limited to 'src/external_cache.c')
-rw-r--r-- | src/external_cache.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/external_cache.c b/src/external_cache.c index c70c818..c1181dc 100644 --- a/src/external_cache.c +++ b/src/external_cache.c @@ -88,9 +88,11 @@ static void external_cache_dump(int fd, int type) cache_dump(external, fd, type); } -static void external_cache_commit(struct nfct_handle *h, int fd) +static int external_cache_commit(struct nfct_handle *h, int fd) { cache_commit(external, h, fd); + /* Keep the client socket open, we want synchronous commits. */ + return LOCAL_RET_STOLEN; } static void external_cache_flush(void) |