projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c45cfb
)
make svc_broadband upgrade errors non-fatal
author
Mark Wells
<mark@freeside.biz>
Mon, 5 Mar 2012 19:14:36 +0000
(11:14 -0800)
committer
Mark Wells
<mark@freeside.biz>
Mon, 5 Mar 2012 19:14:43 +0000
(11:14 -0800)
FS/FS/svc_broadband.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_broadband.pm
b/FS/FS/svc_broadband.pm
index
1808601
..
4787cfe
100755
(executable)
--- a/
FS/FS/svc_broadband.pm
+++ b/
FS/FS/svc_broadband.pm
@@
-601,7
+601,7
@@
sub _upgrade_data {
# (other than setting blocknum to null for a non-auto-assigned router)
if ( $self->ip_addr ne $ip_addr
or ($self->blocknum and $self->blocknum != $addr_block->blocknum)) {
-
die "Upgrading service ".$self->svcnum." would change its block/address.\n\nCheck your router and address block configuration
.\n";
+
warn "WARNING: Upgrading service ".$self->svcnum." would change its block/address; skipped
.\n";
next;
}