summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2007-11-27 22:30:10 +0000
committerjeff <jeff>2007-11-27 22:30:10 +0000
commit69a943c389e4dcf38f0499356167dadf28e78e36 (patch)
tree4947e8200f3b9c56db23e75e5425e54e7b05ddec
parentbf69e84e359b116a859a95c0df75f5303297af41 (diff)
name management tweaking
-rw-r--r--FS/FS/part_export/prizm.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/FS/FS/part_export/prizm.pm b/FS/FS/part_export/prizm.pm
index c92b9f7af..1a4223d66 100644
--- a/FS/FS/part_export/prizm.pm
+++ b/FS/FS/part_export/prizm.pm
@@ -141,7 +141,8 @@ sub _export_insert {
$err_or_som = $self->prizm_command('NetworkIfService', 'addProvisionedElement',
$networkid,
$svc->mac_addr,
- $name . " " . $svc->description,
+ substr($name . " " . $svc->description,
+ 0, 50),
$location,
$contact,
sprintf("%032X", $svc->authkey),
@@ -164,7 +165,7 @@ sub _export_insert {
$svc->latitude,
$svc->longitude,
$svc->altitude,
- $name,
+ $name . " " . $svc->description,
$location,
$contact,
);