Skip to content

Commit 7fba5fb

Browse files
committed
ipv4
1 parent 38b9503 commit 7fba5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonschema/_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def is_email(instance):
167167
_ipv4_re = re.compile(r"^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$")
168168

169169

170-
@_checks_drafts(draft3="ip-address", draft4="ipv4")
170+
@_checks_drafts(draft3="ip-address", draft4="ipv4", draft6="ipv4")
171171
def is_ipv4(instance):
172172
if not isinstance(instance, str_types):
173173
return True

0 commit comments

Comments
 (0)