cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1587
Views
0
Helpful
2
Replies

How to compare fields when writting custom filter?

darkw1y
Level 1
Level 1

Hey,

I want to compare fields like this:

if(header('To') != rcpt-to) {

drop();

}

 

But I receive error message saying that 'rcpt-to' is not STRING.


How can I overcome this issue, as I assume bot of these should return string. Or if not, atleast some utility function to cast the response to strings.

Thanks

2 Replies 2

Libin Varghese
Cisco Employee
Cisco Employee