Fix a typo in utils

Signed-off-by: Xuanwo <xuanwo.cn@gmail.com>
This commit is contained in:
Xuanwo
2017-04-08 20:44:49 +08:00
parent f061fb7e28
commit 1cd173a82c
+1 -1
View File
@@ -497,7 +497,7 @@ def requote_uri(uri):
def address_in_network(ip, net):
"""This function allows you to check if on IP belongs to a network subnet
"""This function allows you to check if an IP belongs to a network subnet
Example: returns True if ip = 192.168.1.1 and net = 192.168.1.0/24
returns False if ip = 192.168.1.1 and net = 192.168.100.0/24