Skip to content

Commit

Permalink
Revert "Revert "Remove normalization when constructing IP addresses""
Browse files Browse the repository at this point in the history
This reverts commit 5de720f.
  • Loading branch information
shaobo-he-aws committed Oct 19, 2023
1 parent 5de720f commit 0deb5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cedar-dafny/def/ext/ipaddr.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module def.ext.ipaddr {
function ip(args: seq<T>): Result<T> {
var s :- checkUnary(args, coerce.String);
match parse(s) {
case Some(ip) => Ok(coerce.fromExt(ip.normalize()))
case Some(ip) => Ok(coerce.fromExt(ip))
case None => Err(ExtensionError)
}
}
Expand Down

0 comments on commit 0deb5e6

Please sign in to comment.