summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/sstp/sstp.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/sstp/sstp.c')
-rw-r--r--accel-pppd/ctrl/sstp/sstp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/sstp/sstp.c b/accel-pppd/ctrl/sstp/sstp.c
index cb1cdfe1..c6b18139 100644
--- a/accel-pppd/ctrl/sstp/sstp.c
+++ b/accel-pppd/ctrl/sstp/sstp.c
@@ -592,7 +592,7 @@ static int http_recv_request(struct sstp_conn_t *conn)
goto error;
}
if (strcmp(method, SSTP_HTTP_METHOD) != 0) {
- http_send_response(conn, proto, "405 Method Not Allowed", NULL);
+ http_send_response(conn, proto, "501 Not Implemented", NULL);
goto error;
}
if (strcmp(request, SSTP_HTTP_URI) != 0) {