![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /lib/python2.7/site-packages/dns/ |
� m!|Uc @ s4 d Z d d l Z d d l Z d � Z d � Z d S( s IPv4 helper functions.i����Nc C s] t | � d k r! t j j � n d t | d � t | d � t | d � t | d � f S( s� Convert an IPv4 address in network form to text form. @param address: The IPv4 address @type address: string @returns: string i s %u.%u.%u.%ui i i i ( t lent dnst exceptiont SyntaxErrort ord( t address( ( s, /usr/lib/python2.7/site-packages/dns/ipv4.pyt inet_ntoa s c C s� | j d � } t | � d k r0 t j j � n xZ | D]R } | j � sX t j j � n t | � d k r7 | d d k r7 t j j � q7 q7 Wy3 g | D] } t | � ^ q� } t j d | � SWn t j j � n Xd S( s� Convert an IPv4 address in text form to network form. @param text: The IPv4 address @type text: string @returns: string t .i i i t 0t BBBBN( t splitR R R R t isdigitt intt structt pack( t textt partst partt bytes( ( s, /usr/lib/python2.7/site-packages/dns/ipv4.pyt inet_aton"