diff --git a/xCAT-server/lib/perl/xCAT/xcatd.pm b/xCAT-server/lib/perl/xCAT/xcatd.pm index 6bd6f3292..9bd5f09f8 100644 --- a/xCAT-server/lib/perl/xCAT/xcatd.pm +++ b/xCAT-server/lib/perl/xCAT/xcatd.pm @@ -81,6 +81,9 @@ sub validate { #TODO: more complex matching (lists, wildcards) next unless ($peername and $peername eq $rule->{name}); } + if ($rule->{name} and $rule->{name} eq '*') { #a name is required, but can be any name whatsoever.... + next unless ($peername); + } if ($rule->{time} and $rule->{time} ne '*') { #TODO: time ranges }