Have policy table recognize the name '*' to mean any valid name, but must have some name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -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 | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user