Fix connection req failure with path

This commit is contained in:
suvendhu 2022-07-27 16:42:33 +05:30
parent a3eaadd9d0
commit 75a98b0e27

View file

@ -400,7 +400,7 @@ http_end:
CWMP_LOG(INFO, "Receive Connection Request: Return 401 Unauthorized");
fputs("HTTP/1.1 401 Unauthorized\r\n", fp);
fputs("Connection: close\r\n", fp);
http_authentication_failure_resp(fp, "GET", "/", REALM, OPAQUE);
http_authentication_failure_resp(fp, "GET", cwmp_main.conf.connection_request_path, REALM, OPAQUE);
fputs("\r\n", fp);
}
fputs("\r\n", fp);