a90dec7 Ticket 49361 - Use IPv6 friendly network functions

Authored and Committed by mreynolds 4 years ago
    Ticket 49361 - Use IPv6 friendly network functions
    
    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!)
    
        
file modified
+0 -2
file modified
+1 -1
file modified
+0 -3
file modified
+0 -50
file modified
+37 -33
file modified
+29 -32
file removed
-142
file removed
-66