projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RT# 82949 - fixed error where form submits on cancel
[freeside.git]
/
FS
/
FS
/
IP_Mixin.pm
diff --git
a/FS/FS/IP_Mixin.pm
b/FS/FS/IP_Mixin.pm
index
3ec7693
..
8920ceb
100644
(file)
--- a/
FS/FS/IP_Mixin.pm
+++ b/
FS/FS/IP_Mixin.pm
@@
-94,6
+94,10
@@
sub ip_check {
$self->ip_addr('');
}
+ # Will strip extraneous leading zeros from ip adddresses
+ # e.g. 10.0.022.220 corrected to 10.0.22.220
+ $self->ut_ip46n('ip_addr');
+
if ( $self->ip_addr
and !$self->router
and $self->conf->exists('auto_router') ) {