anchor.diff:  		Reason :: term().
   %% @hidden
   query_clients(start, {like, String}, Identifier, Port, Protocol, Secret) ->
  -	MatchHead = case lists:last(String) of
  +	{MatchHead, MatchConditions}  = case lists:last(String) of
   		$% ->
  -			Prefix = lists:droplast(String),
  -			#client{address = Prefix ++ '_', _ = '_'};
  -		_ ->
  -			#client{address = String, _  = '_'}
  -	end,
  -	query_clients1(start, MatchHead, Identifier, Port, Protocol, Secret);
  +			{AddressMatch, Conditions} = match_prefix(lists:droplast(String)),
  +			{#client{address = AddressMatch, _ = '_'}, Conditions};
  +		Address ->
  +			{#client{address = inet:parse_address(Address), _  = '_'}, []}
  +	end,
  +	query_clients1(start, MatchHead, MatchConditions,
  +			Identifier, Port, Protocol, Secret);
   query_clients(start, '_', Identifier, Port, Protocol, Secret) ->
   	MatchHead = #client{_ = '_'},
  -	query_clients1(start, MatchHead, Identifier, Port, Protocol, Secret);
  +	query_clients1(start, MatchHead, [], Identifier, Port, Protocol, Secret);
   query_clients(Cont, _Address, Identifier, _Port, _Protocol, _Secret) ->
  -	query_clients4(Cont, [], Identifier).
  -%% @hidden
  -query_clients1(start, MatchHead, Identifier, {like, String}, Protocol, Secret) ->
  +	query_clients4(Cont, [], [], Identifier).
  +%% @hidden
  +query_clients1(start, MatchHead, MatchConditions,
  +		Identifier, {like, String}, Protocol, Secret) ->
   	MatchHead1 = case lists:last(String) of
   		$% ->
   			Prefix = lists:droplast(String),
  
positive.code: 		_ ->
  			MatchHead#client{port = String}
  	end,
  	query_clients2(start, MatchHead1, Identifier, Protocol, Secret);
  query_clients1(start, MatchHead, Identifier, '_', Protocol, Secret) ->
  	query_clients2(start, MatchHead, Identifier, Protocol, Secret).
  %% @hidden
  query_clients2(start, MatchHead, Identifier, {like, String}, Secret) ->
  	MatchHead1 = case lists:last(String) of
  		$% ->
  			Prefix = lists:droplast(String),
  
negative.code: 		_ ->
  			MatchHead#client{protocol = String}
  	end,
  	query_clients3(start, MatchHead1, MatchConditions, Identifier, Secret);
  query_clients2(start, MatchHead, MatchConditions, Identifier, '_', Secret) ->
  	query_clients3(start, MatchHead, MatchConditions, Identifier, Secret).
  %% @hidden
  query_clients3(start, MatchHead, MatchConditions,
  		Identifier, {like, String}) ->
  	MatchHead1 = case lists:last(String) of
  		$% ->
  			Prefix = lists:droplast(String),
  