From 06b94ebac684422548e78e778b617f80694baa4e Mon Sep 17 00:00:00 2001 From: Owen DeLong Date: Fri, 15 Mar 2024 17:51:14 -0700 Subject: [PATCH] More typo fix --- switch-configuration/config/scripts/switch_template.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/switch-configuration/config/scripts/switch_template.pm b/switch-configuration/config/scripts/switch_template.pm index de10b661..a3af210a 100755 --- a/switch-configuration/config/scripts/switch_template.pm +++ b/switch-configuration/config/scripts/switch_template.pm @@ -195,14 +195,14 @@ sub get_switchlist my @list=(); foreach(sort(keys(%Switchtypes))) { - if ($include_Z || $switchtyps{$_}[4] -ne "Z") + if ($include_Z || $Switchtypes{$_}[4] ne "Z") { push @list, $_; - debug(9, "Adding $_ to list with group $switchtypes{$_}[4]\n"); + debug(9, "Adding $_ to list with group $Switchtypes{$_}[4]\n"); } else { - debug(9, "Skipping $_ with group $switchtypes{$_}[4]\n"); + debug(9, "Skipping $_ with group $Switchtypes{$_}[4]\n"); } } debug(5, "get_switchlist called\n");