[network-manager-openvpn] import/export: don't limit reneg-sec to 65536 on import
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn] import/export: don't limit reneg-sec to 65536 on import
- Date: Mon, 18 Apr 2016 18:54:56 +0000 (UTC)
commit 5f592d6aa5aa481eb65be4e630c00f7908316573
Author: Dan Williams <dcbw redhat com>
Date: Mon Apr 18 13:50:22 2016 -0500
import/export: don't limit reneg-sec to 65536 on import
Fixes: cd2fe46ec387fe6ce784f343be5a0dd22f7402af
properties/import-export.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/import-export.c b/properties/import-export.c
index 713a635..a23d482 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -932,7 +932,7 @@ do_import (const char *path, const char *contents, gsize contents_len, GError **
if (NM_IN_STRSET (params[0], NMV_OVPN_TAG_RENEG_SEC)) {
if (!args_params_check_nargs_n (params, 1, &line_error))
goto handle_line_error;
- if (!args_params_parse_int64 (params, 1, 0, 0xffff, &v_int64, &line_error))
+ if (!args_params_parse_int64 (params, 1, 0, 604800, &v_int64, &line_error))
goto handle_line_error;
setting_vpn_add_data_item_int64 (s_vpn, NM_OPENVPN_KEY_RENEG_SECONDS, v_int64);
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]