Skip to content

Commit

Permalink
Revert "Update pattern.c"
Browse files Browse the repository at this point in the history
This reverts commit e42bb5d.
  • Loading branch information
BlinkyStitt committed Nov 25, 2013
1 parent 9b20c75 commit 966d077
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pattern.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,11 +728,10 @@ get_prefix_ranges(int addrtype, const char *pfx, BIGNUM **result,
if (i == zero_prefix) {
if (c == 0) {
/* Add another zero prefix */
/* Removed the silly (sarcasm) limitation of the prefix */
zero_prefix++;
if (zero_prefix < 0) {
if (zero_prefix > 19) {
fprintf(stderr,
"Prefix '%s' is way too short\n",
"Prefix '%s' is too long\n",
pfx);
goto out;
}
Expand Down

0 comments on commit 966d077

Please sign in to comment.