Project

General

Profile

Anomalie #6730

ne pas accepter une adresse de type : 192.168.230.01

Added by Emmanuel GARETTE over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
12/02/2013
Due date:
12/06/2013
% Done:

100%

Spent time:
Distribution:
EOLE 2.4

Description

Bind n'arrive pas a démarrer si on met une adresse de type : "192.168.230.01". En effet il ne trouve pas cette adresse sur le système (qui est 192.168.230.1).

Pour éviter tout problème, tiramisu ne devrait pas accepter les IPs avec un "0" en trop.

History

#1 Updated by Joël Cuissinat over 7 years ago

  • Assigned To set to Emmanuel GARETTE

#2 Updated by Gwenael Remond over 7 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

fixed par commit 029452ccbc69f1d1d36a6bfd90c73ad3b0cef5f9

#3 Updated by Joël Cuissinat over 7 years ago

  • Due date set to 12/06/2013
  • Status changed from Résolu to Fermé
  • Start date set to 12/02/2013
root@amon:~# CreoleSet -d adresse_ip_eth1 10.21.11.01
root - invalid value for option adresse_ip_eth1: invalid IP
Traceback (most recent call last):
  File "/usr/bin/CreoleSet", line 58, in main
    setattr(config, path, value)
  File "/usr/lib/python2.7/dist-packages/tiramisu/config.py", line 181, in __setattr__
    self._setattr(name, value)
  File "/usr/lib/python2.7/dist-packages/tiramisu/config.py", line 186, in _setattr
    return homeconfig.__setattr__(name, value)
  File "/usr/lib/python2.7/dist-packages/tiramisu/config.py", line 181, in __setattr__
    self._setattr(name, value)
  File "/usr/lib/python2.7/dist-packages/tiramisu/config.py", line 196, in _setattr
    force_permissive=force_permissive)
  File "/usr/lib/python2.7/dist-packages/tiramisu/value.py", line 255, in setitem
    'validator' in self.context().cfgimpl_get_settings())
  File "/usr/lib/python2.7/dist-packages/tiramisu/option.py", line 449, in impl_validate
    do_validation(value, force_index)
  File "/usr/lib/python2.7/dist-packages/tiramisu/option.py", line 426, in do_validation
    '').format(self._name, err))
ValueError: invalid value for option adresse_ip_eth1: invalid IP
Valeur invalide : invalid value for option adresse_ip_eth1: invalid IP

Also available in: Atom PDF