diff options
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r-- | src/nxt_router.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index aa033ced..e6a342b0 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -1510,13 +1510,13 @@ static nxt_conf_map_t nxt_router_http_conf[] = { { nxt_string("discard_unsafe_fields"), - NXT_CONF_MAP_INT8, + NXT_CONF_MAP_BOOL, offsetof(nxt_socket_conf_t, discard_unsafe_fields), }, { nxt_string("log_route"), - NXT_CONF_MAP_INT8, + NXT_CONF_MAP_BOOL, offsetof(nxt_socket_conf_t, log_route), }, }; |