summaryrefslogtreecommitdiff
path: root/FS/FS/svc_broadband.pm
diff options
context:
space:
mode:
authorjeff <jeff>2006-12-23 05:37:47 +0000
committerjeff <jeff>2006-12-23 05:37:47 +0000
commit4a54e68baa0fe7c4171d57c3eb0e1579aa21ae77 (patch)
tree4a37f0238038c232ec0c99b6682b644eab5ea187 /FS/FS/svc_broadband.pm
parentf27a5a08ba712678bf826a47f82f96568208bab3 (diff)
inital prizm support
Diffstat (limited to 'FS/FS/svc_broadband.pm')
-rwxr-xr-xFS/FS/svc_broadband.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/FS/FS/svc_broadband.pm b/FS/FS/svc_broadband.pm
index f4cc794..5c9fe5e 100755
--- a/FS/FS/svc_broadband.pm
+++ b/FS/FS/svc_broadband.pm
@@ -155,16 +155,17 @@ sub check {
|| $self->ut_number('speed_down')
|| $self->ut_ipn('ip_addr')
|| $self->ut_hexn('mac_addr')
- || $self->ut_numbern('vlan')
+ || $self->ut_hexn('auth_key')
+ || $self->ut_floatn('latitude')
+ || $self->ut_floatn('longitude')
+ || $self->ut_floatn('altitude')
+ || $self->ut_textn('vlan_profile')
;
return $error if $error;
if($self->speed_up < 0) { return 'speed_up must be positive'; }
if($self->speed_down < 0) { return 'speed_down must be positive'; }
- if($self->vlan < 0 || $self->vlan > 4096) { # apropos?
- return 'vlan is out of range'; }
-
if($self->latitude < -90 || $self->latitude > 90) {
return 'latitude must be between -90 and 90';
}