[BACK]Return to dighost.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / dig

Diff for /src/usr.bin/dig/dighost.c between version 1.29 and 1.30

version 1.29, 2020/09/14 08:40:43 version 1.30, 2020/09/15 07:45:06
Line 954 
Line 954 
         slash = strchr(buf, '/');          slash = strchr(buf, '/');
         if (slash != NULL) {          if (slash != NULL) {
                 *slash = '\0';                  *slash = '\0';
                 prefix_length = strtonum(slash + 1, 0, 10, &errstr);                  prefix_length = strtonum(slash + 1, 0, 128, &errstr);
                 if (errstr != NULL) {                  if (errstr != NULL) {
                         fatal("prefix length is %s: '%s'", errstr, value);                          fatal("prefix length is %s: '%s'", errstr, value);
                 }                  }

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30