Changeset 887 for trunk/cgi-bin
- Timestamp:
- 08/29/16 17:58:16 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r882 r887 1833 1833 1834 1834 # IPv6 does not lend itself to IP pools as supported 1835 return ('FAIL',"Refusing to create IPv6 static IP pool ") if $pool->{isv6};1835 return ('FAIL',"Refusing to create IPv6 static IP pool\n") if $pool->{isv6}; 1836 1836 # IPv4 pools don't make much sense beyond even /24. Allow up to 4096-host footshooting anyway. 1837 1837 # NetAddr::IP won't allow more than a /16 (65k hosts). 1838 return ('FAIL',"Refusing to create oversized static IP pool ") if $pool->masklen <= 20;1838 return ('FAIL',"Refusing to create oversized static IP pool\n") if $pool->masklen <= 20; 1839 1839 1840 1840 # Retrieve some odds and ends for defaults on the IPs
Note:
See TracChangeset
for help on using the changeset viewer.