Skip to content
Snippets Groups Projects
  • Pascal Hambourg's avatar
    fb586403
    Reject invalid input for static nameserver configuration · fb586403
    Pascal Hambourg authored
    During static configuration, netcfg checks if the IP address, netmask
    and gateway address are valid but not the nameserver address list.
    Not only invalid addresses are silently discarded but also addresses
    separated with the wrong character (e.g. comma or semicolon) are silently
    discarded, resulting in no nameserver options in generated network
    configuration files.
    
    So check nameserver input and prompt the user again if invalid.
    
    Closes: #1089036
    fb586403
    History
    Reject invalid input for static nameserver configuration
    Pascal Hambourg authored
    During static configuration, netcfg checks if the IP address, netmask
    and gateway address are valid but not the nameserver address list.
    Not only invalid addresses are silently discarded but also addresses
    separated with the wrong character (e.g. comma or semicolon) are silently
    discarded, resulting in no nameserver options in generated network
    configuration files.
    
    So check nameserver input and prompt the user again if invalid.
    
    Closes: #1089036