Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
c5cbb99bf0
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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)),