Просмотр исходного кода

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 лет назад
Родитель
Сommit
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)),