Re: Compare two variables in acl
Yea exactly that was what I wanted. Thanks. :) On Thu, 23 Jun 2022 at 15:50, Tim Düsterhus wrote: > Seena, > > On 6/22/22 19:57, Seena Fallah wrote: > > I'm trying to compare two variables in ACL but seems the one on the right > > side is not rendering and assumed as a literal string. > > Is there any example of how can I compare two variables in haproxy acls? > > Your question is very light on details (e.g. what you have attempted), > but likely the `strcmp` converter does what you need. > > Best regards > Tim Düsterhus >
Re: Compare two variables in acl
Seena, On 6/22/22 19:57, Seena Fallah wrote: I'm trying to compare two variables in ACL but seems the one on the right side is not rendering and assumed as a literal string. Is there any example of how can I compare two variables in haproxy acls? Your question is very light on details (e.g. what you have attempted), but likely the `strcmp` converter does what you need. Best regards Tim Düsterhus
Compare two variables in acl
Hi, I'm trying to compare two variables in ACL but seems the one on the right side is not rendering and assumed as a literal string. Is there any example of how can I compare two variables in haproxy acls? Testing on haproxy v2.6 Thanks.