Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-329

DataStructure.pm get_computer_private_ip_address() not handling all valid formats in /etc/hosts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2
    • vcld (backend)
    • None

    Description

      DataStructure.pm get_computer_private_ip_address() does not find the line for the computer in /etc/hosts if the line contains both the short hostname and full dns hostname:
      10.255.253.61 vcl16 vcl16.lab.net

      There is a problem in the regex that locates the correct line.

      Attachments

        Activity

          People

            arkurth Andrew Kurth
            arkurth Andrew Kurth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: