Skip to content

Commit 5f2b5bb

Browse files
committed
[openvpn] Improved patch #108
- avoid duplication of description - use `reneg-sec` instead of `reneg_sec` in label
1 parent 405f884 commit 5f2b5bb

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

netjsonconfig/backends/openvpn/schema.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
"propertyOrder": 38,
329329
},
330330
"reneg_sec": {
331-
"title": "reneg_sec",
331+
"title": "reneg-sec",
332332
"description": "Renegotiate data channel key after n seconds",
333333
"type": "integer",
334334
"default": 3600,
@@ -350,6 +350,8 @@
350350
},
351351
"remote_cert_tls": {
352352
"title": "Remote certificate TLS",
353+
"description": "Require that peer certificate was signed with an explicit "
354+
"key usage and extended key usage based on RFC3280 TLS rules",
353355
"type": "string",
354356
"default": "",
355357
"propertyOrder": 42
@@ -521,8 +523,6 @@
521523
"propertyOrder": 41,
522524
},
523525
"remote_cert_tls": {
524-
"description": "Require that peer certificate was signed with an explicit "
525-
"key usage and extended key usage based on RFC3280 TLS rules",
526526
"enum": ["", "server"],
527527
"options": {"enum_titles": ["disabled", "server"]}
528528
}
@@ -622,8 +622,6 @@
622622
"propertyOrder": 45,
623623
},
624624
"remote_cert_tls": {
625-
"description": "Require that peer certificate was signed with an explicit "
626-
"key usage and extended key usage based on RFC3280 TLS rules",
627625
"enum": ["", "client"],
628626
"options": {"enum_titles": ["disabled", "client"]}
629627
}

0 commit comments

Comments
 (0)