diff --git a/include/crow/http_connection.h b/include/crow/http_connection.h index 156b565e3..2300757fe 100644 --- a/include/crow/http_connection.h +++ b/include/crow/http_connection.h @@ -262,7 +262,7 @@ namespace crow req_ = std::move(parser_.to_request()); request& req = req_; - req.remoteIpAddress = adaptor_.remote_endpoint().address().to_string(); + req.remote_ip_address = adaptor_.remote_endpoint().address().to_string(); if (parser_.check_version(1, 0)) {