projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13fd378
)
ut_ip fix from 1.5
author
ivan
<ivan>
Sun, 13 Oct 2002 00:51:17 +0000
(
00:51
+0000)
committer
ivan
<ivan>
Sun, 13 Oct 2002 00:51:17 +0000
(
00:51
+0000)
FS/FS/Record.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
e6126a1
..
c247ed2
100644
(file)
--- a/
FS/FS/Record.pm
+++ b/
FS/FS/Record.pm
@@
-930,7
+930,7
@@
sub ut_ip {
$self->getfield($field) =~ /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/
or return "Illegal (IP address) $field: ". $self->getfield($field);
for ( $1, $2, $3, $4 ) { return "Illegal (IP address) $field" if $_ > 255; }
- $self->setfield($field, "$1.$2.$3.$
3
");
+ $self->setfield($field, "$1.$2.$3.$
4
");
'';
}