Ticket #26325: patch-ipv4pack-ipv4pack.pm.diff
File patch-ipv4pack-ipv4pack.pm.diff, 518 bytes (added by fclaire@…, 14 years ago) |
---|
-
ipv4pack/ipv4pack.pm
old new 271 271 272 272 # check for a valid range: no CLASS-D and upper (223-255), no 127/8 273 273 # and no private networks allowed (10/8) 274 return ("", $O_PRIVATERANGE) if ($1 =~ /^10|127$/);274 return ("", $O_PRIVATERANGE) if ($1 eq "10" || $1 eq "127"); 275 275 return ("", $O_RESERVEDCLASS) if ($1 > 223); 276 276 277 277 if ($3 eq '/') { # range is in format quad/prefix