Skip to content

Commit

Permalink
Fix bug in prefix length, typo (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Holland authored and zakird committed Jun 15, 2018
1 parent 0e94a7c commit d280423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -7,7 +7,7 @@
#
# docker build -t zmap_ubuntu -f Dockerfile .
#
# * If you wisht to build a specific commit, use the ZMAP_COMMIT build argument.
# * If you wish to build a specific commit, use the ZMAP_COMMIT build argument.
#
# docker build -t zmap_ubuntu -f Dockerfile --build-arg ZMAP_COMMIT=<your commit> .
#
Expand Down
2 changes: 1 addition & 1 deletion lib/constraint.c
Expand Up @@ -107,7 +107,7 @@ static void _convert_to_leaf(node_t *node)
static void _set_recurse(node_t *node, uint32_t prefix, int len, value_t value)
{
assert(node);
assert(0 <= len && len <= 32);
assert(0 <= len && len <= 256);

if (len == 0) {
// We're at the end of the prefix; make this a leaf and set the
Expand Down

0 comments on commit d280423

Please sign in to comment.