diff options
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r-- | accel-pppd/ctrl/sstp/sstp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/sstp/sstp.c b/accel-pppd/ctrl/sstp/sstp.c index 68d8ddf8..691928b0 100644 --- a/accel-pppd/ctrl/sstp/sstp.c +++ b/accel-pppd/ctrl/sstp/sstp.c @@ -859,7 +859,7 @@ static int http_recv_request(struct sstp_conn_t *conn, uint8_t *data, int len) goto error; } if (strcasecmp(method, SSTP_HTTP_METHOD) != 0) { - http_send_response(conn, proto, "501 Not Implemented", NULL); + http_send_response(conn, proto, "405 Method Not Allowed", NULL); goto error; } if (strcasecmp(request, SSTP_HTTP_URI) != 0) { |