mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
module: fix default value for 'auto6'
This commit is contained in:
parent
24c6c0755b
commit
ddc1493a6f
2 changed files with 3 additions and 3 deletions
|
|
@ -580,7 +580,7 @@ class ArgValidator_DictIP(ArgValidatorDict):
|
|||
ArgValidatorBool('dhcp4_send_hostname', default_value = None),
|
||||
ArgValidatorIP ('gateway4', family = socket.AF_INET),
|
||||
ArgValidatorInt ('route_metric4', val_min = -1, val_max = 0xFFFFFFFF, default_value = None),
|
||||
ArgValidatorBool('auto6'),
|
||||
ArgValidatorBool('auto6', default_value = None),
|
||||
ArgValidatorIP ('gateway6', family = socket.AF_INET6),
|
||||
ArgValidatorInt ('route_metric6', val_min = -1, val_max = 0xFFFFFFFF, default_value = None),
|
||||
ArgValidatorList('address',
|
||||
|
|
|
|||
|
|
@ -304,7 +304,7 @@ class TestValidator(unittest.TestCase):
|
|||
'gateway6': None,
|
||||
'gateway4': None,
|
||||
'route_metric4': None,
|
||||
'auto6': False,
|
||||
'auto6': True,
|
||||
'dhcp4': True,
|
||||
'address': [],
|
||||
'dns': [],
|
||||
|
|
@ -345,7 +345,7 @@ class TestValidator(unittest.TestCase):
|
|||
'gateway6': None,
|
||||
'gateway4': None,
|
||||
'route_metric4': None,
|
||||
'auto6': False,
|
||||
'auto6': True,
|
||||
'dhcp4': True,
|
||||
'address': [],
|
||||
'dns': [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue