瀏覽代碼

fix: add missing DH group 15 (3072)

DH group 15 was not selectable in the UI, and I strongly suspect this
patch will fix that, as that particular choices was missing in
`choices.py`.

Signed-off-by: Jorik Jonker <jorik@kippendief.biz>

Fixes #14793
Jorik Jonker 2 年之前
父節點
當前提交
c5cbb99bf0
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      netbox/vpn/choices.py

+ 1 - 0
netbox/vpn/choices.py

@@ -179,6 +179,7 @@ class DHGroupChoices(ChoiceSet):
         (GROUP_2, _('Group {n}').format(n=2)),
         (GROUP_5, _('Group {n}').format(n=5)),
         (GROUP_14, _('Group {n}').format(n=14)),
+        (GROUP_15, _('Group {n}').format(n=15)),
         (GROUP_16, _('Group {n}').format(n=16)),
         (GROUP_17, _('Group {n}').format(n=17)),
         (GROUP_18, _('Group {n}').format(n=18)),