about summary refs log tree commit diff
path: root/nscd/hstcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/hstcache.c')
-rw-r--r--nscd/hstcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nscd/hstcache.c b/nscd/hstcache.c
index 08d11e4586..367953fc1e 100644
--- a/nscd/hstcache.c
+++ b/nscd/hstcache.c
@@ -167,6 +167,7 @@ cache_addhst (struct database *db, int fd, request_header *req, void *key,
 	/* There is no reason to go on.  */
 	error (EXIT_FAILURE, errno, _("while allocating cache entry"));
 
+      data->resp.version = NSCD_VERSION;
       data->resp.found = 1;
       data->resp.h_name_len = h_name_len;
       data->resp.h_aliases_cnt = h_aliases_cnt;