packets.py
def __set_gateway_ip(self, gateway_ip: str) -> str:
        """
        Sets the gateway's IP address by converting its standard-sized,
        native byte order hexadecimal representation stored in the
        routing table to a string with the IPv4 address in
        dotted-decimal notation.
        Ex: From 'FE01A8C0' to '192.168.1.254'
        """
        if gateway_ip is not None:
            return gateway_ip
        return inet_ntop(AF_INET,
                         pack("=L", int(self.__gateway_route['gateway'], 16)))

        Sets the gateway's IP address by converting its standard-sized,
        native byte order hexadecimal representation stored in the
        routing table to a string with the IPv4 address in
        dotted-decimal notation.
        Ex: From 'FE01A8C0' to '192.168.1.254'
        
Sets the gateway's IP address by converting its standard-sized,
native byte order hexadecimal representation stored in the
routing table to a string with the IPv4 address in
dotted-decimal notation.
Sets the gateway ' s IP address by converting its standard - sized native byte order hexadecimal representation stored in the routing table to a string with the IPv4 address in dotted - decimal notation .
def __set_gateway_ip(self, gateway_ip: str) -> str:
        if gateway_ip is not None:
            return gateway_ip
        return inet_ntop(AF_INET,
                         pack("=L", int(self.__gateway_route['gateway'], 16)))
def __set_gateway_ip ( self , gateway_ip : str ) -> str : if gateway_ip is not None : return gateway_ip return inet_ntop ( AF_INET , pack ( "=L" , int ( self . __gateway_route [ 'gateway' ] , 16 ) ) )
Sets the gateway's IP address by converting its standard-sized,
native byte order hexadecimal representation stored in the
routing table to a string with the IPv4 address in
dotted-decimal notation.
Sets the gateway ' s IP address by converting its standard - sized native byte order hexadecimal representation stored in the routing table to a string with the IPv4 address in dotted - decimal notation .
"""
        Sets the gateway's IP address by converting its standard-sized,
        native byte order hexadecimal representation stored in the
        routing table to a string with the IPv4 address in
        dotted-decimal notation.
        Ex: From 'FE01A8C0' to '192.168.1.254'
        """
self
gateway_ip
str