diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2014-09-01 15:15:56 +0600 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-09-13 11:01:53 +0400 |
commit | ee8cbd4169e70ea7abed730a58bcc579f8971927 (patch) | |
tree | 0c0eaeb525d5380218c4bf86fb53986c60b0d7d0 /accel-pppd/ctrl | |
parent | 16384eee09c257191445d4e0189ddf88393eb470 (diff) | |
download | accel-ppp-ee8cbd4169e70ea7abed730a58bcc579f8971927.tar.gz accel-ppp-ee8cbd4169e70ea7abed730a58bcc579f8971927.zip |
pptp: use predefined named framing/bearer values, cosmetics
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r-- | accel-pppd/ctrl/pptp/pptp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/ctrl/pptp/pptp.c b/accel-pppd/ctrl/pptp/pptp.c index f428afc..19deb3d 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), }; |