- Timestamp:
- 04/30/14 17:15:04 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r627 r629 544 544 return ('FAIL',"A record must be a valid IPv4 address") 545 545 unless ${$args{val}} =~ /^\d+\.\d+\.\d+\.\d+$/; 546 $args{addr} = new NetAddr::IP ${$args{ host}};546 $args{addr} = new NetAddr::IP ${$args{val}}; 547 547 return ('FAIL',"A record must be a valid IPv4 address") 548 548 unless $args{addr} && !$args{addr}->{isv6};
Note:
See TracChangeset
for help on using the changeset viewer.