Revision 6db8c5a6

View differences:

conf/confbase.Y
111 111

  
112 112
pxlen:
113 113
   '/' NUM {
114
     if ($2 < 0 || $2 > 32) cf_error("Invalid prefix length %d", $2);
114
     if ($2 < 0 || $2 > BITS_PER_IP_ADDRESS) cf_error("Invalid prefix length %d", $2);
115 115
     $$ = $2;
116 116
   }
117 117
 | ':' IPA {

Also available in: Unified diff