mirror of https://github.com/flaggo/pydu.git
add doc for network.private_ipv4s
This commit is contained in:
parent
a9b9a225b8
commit
a2d89ac341
|
@ -13,6 +13,11 @@ Network
|
|||
'255.255.255.0'
|
||||
|
||||
|
||||
.. py:data:: pydu.network.private_ipv4s
|
||||
|
||||
A list of private ipv4 addresses. Each item is a tuple of
|
||||
(ipv4 address, mask).
|
||||
|
||||
.. py:function:: pydu.network.is_ipv4(ip)
|
||||
|
||||
Judge whether the given ``ip`` is IPV4 address.
|
||||
|
|
Loading…
Reference in New Issue