fix rancid, graph, and nodemonitor

This commit is contained in:
Oliver Gorwits
2019-09-03 13:17:17 +01:00
parent 6d881de3ff
commit 0a2b5c8fa2
4 changed files with 8 additions and 8 deletions

View File

@@ -298,8 +298,8 @@ sub graph_addnode {
$devloc = $GRAPH{$ip}->{location};
$label = "($ip)" unless defined $label;
my $domain_suffix = setting('domain_suffix') || '';
$label =~ s/$domain_suffix$//;
my $domain_suffix = setting('domain_suffix');
$label =~ s/$domain_suffix//;
$node{label} = $label;
# Dereferencing the scalar by name below