aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@frank.tg14.gathering.org>2014-04-16 15:52:54 +0200
committerroot <root@frank.tg14.gathering.org>2014-04-16 15:52:54 +0200
commit35a1d8178ec6e1af28864a6ebd75cb2cc68f7490 (patch)
tree746580bbbf8ed34cda5593a10a2b9ca2ea46032e
parente3b4e4f02cd7c552481a0d80fee0f338fc92bc0f (diff)
Remove domain names from nettkart.pl.
-rwxr-xr-xweb/nms.gathering.org/nettkart.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/nms.gathering.org/nettkart.pl b/web/nms.gathering.org/nettkart.pl
index 19e48d1..6711dae 100755
--- a/web/nms.gathering.org/nettkart.pl
+++ b/web/nms.gathering.org/nettkart.pl
@@ -87,6 +87,7 @@ while (my $ref = $q->fetchrow_hashref()) {
my $sysname = $ref->{'sysname'};
$sysname =~ s/-sekrit//;
+ $sysname =~ s/\..*$//;
$ref->{'placement'} =~ /\((\d+),(\d+)\),\((\d+),(\d+)\)/;
$img->filledRectangle($3,$4,$1,$2,$clr);