Skip to content
  • Mark Reynolds's avatar
    Ticket 49361 - Use IPv6 friendly network functions · a90dec70
    Mark Reynolds authored
    Description:  We use these functions that are not reliable with IPv6:
    
                     - gethostbyname()
                     - inet_ntoa()
                     - inet_aton()
                     - inet_addr()
    
                  This patch replaces these calls using one of the following
                  preferred functions:
    
                      - inet_ntop()
                      - inet_pton()
    
                  Also fixed a few failures in the replication CI test
                  regression_test.py as replication uses code touched by this
                  patch.
    
    ASAN approved
    
    https://pagure.io/389-ds-base/issue/49361
    
    Reviewed by: firstyear(Thanks!)
    a90dec70
Loading