Skip to content

Commit

Permalink
Fix bug in omv-firstaid.
Browse files Browse the repository at this point in the history
  • Loading branch information
votdev committed Sep 27, 2016
1 parent 7a9cbe8 commit 0eccc7b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
6 changes: 6 additions & 0 deletions deb/openmediavault/debian/changelog
@@ -1,3 +1,9 @@
openmediavault (3.0.41) stable; urgency=low

* Fix bug in omv-firstaid.

-- Volker Theile <volker.theile@openmediavault.org> Tue, 27 Sep 2016 12:42:50 +0200

openmediavault (3.0.40) stable; urgency=low

* Harden installation script.
Expand Down
Expand Up @@ -37,10 +37,10 @@ def execute(self):
netmask = None
gateway = None
method = "dhcp"
address6 = None
address6 = ""
method6 = "manual"
netmask6 = 64
gateway6 = None
gateway6 = ""
wol = False
dns_nameservers = None
wpa_ssid = None
Expand Down Expand Up @@ -167,7 +167,8 @@ def execute(self):
else:
method6 = "static"
# Get static IPv6 address.
while not address:
address6 = None
while not address6:
(code, address6) = d.inputbox(
"Please enter the IPv6 address.",
backtitle=self.description,
Expand All @@ -188,11 +189,12 @@ def execute(self):
height=5, width=38)
continue
# Get the prefix length.
netmask6 = None
while not netmask6:
(code, netmask6) = d.inputbox(
"Please enter the IPv6 prefix length.",
backtitle=self.description,
clear=True, height=8, width=64, init="")
clear=True, height=8, width=64, init="64")
if code != d.OK:
return 0
if not netmask6:
Expand All @@ -209,6 +211,7 @@ def execute(self):
height=5, width=33)
continue
# Get default IPv6 gateway.
gateway6 = None
while not gateway6:
(code, gateway6) = d.inputbox(
"Please enter the default IPv6 gateway.",
Expand Down

0 comments on commit 0eccc7b

Please sign in to comment.