mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
networks: Set 'auto' as default IPv6 method in new connection form
- Without selecting an option, trying to submit the form leads to an error. Tests: - Go to the new connection form, notice that the 'auto' method is selected by default. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
a12a7fac22
commit
64cfdc07b8
@ -115,7 +115,7 @@ class ConnectionForm(forms.Form):
|
||||
'connection from this network')),
|
||||
('ignore', _('Ignore: Ignore this addressing method')),
|
||||
('disabled', _('Disabled: Disable IPv6 for this connection')),
|
||||
])
|
||||
], initial='auto')
|
||||
ipv6_address = forms.CharField(
|
||||
label=_('Address'), validators=[validators.validate_ipv6_address],
|
||||
required=False)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user