From ee8cbd4169e70ea7abed730a58bcc579f8971927 Mon Sep 17 00:00:00 2001 From: Vladislav Grishenko Date: Mon, 1 Sep 2014 15:15:56 +0600 Subject: pptp: use predefined named framing/bearer values, cosmetics --- accel-pppd/ctrl/pptp/pptp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accel-pppd/ctrl') diff --git a/accel-pppd/ctrl/pptp/pptp.c b/accel-pppd/ctrl/pptp/pptp.c index f428afcf..19deb3db 100644 --- a/accel-pppd/ctrl/pptp/pptp.c +++ b/accel-pppd/ctrl/pptp/pptp.c @@ -192,8 +192,8 @@ static int send_pptp_start_ctrl_conn_rply(struct pptp_conn_t *conn, int res_code .version = htons(PPTP_VERSION), .result_code = res_code, .error_code = err_code, - .framing_cap = htonl(3), - .bearer_cap = htonl(3), + .framing_cap = htonl(PPTP_FRAME_ANY), + .bearer_cap = htonl(PPTP_BEARER_ANY), .max_channels = htons(1), .firmware_rev = htons(PPTP_FIRMWARE_VERSION), }; -- cgit v1.2.3