Is there a converter from type IP to binary?

2025-02-15 Thread Andreas Mock
Hi all, the fetch method 'src' is returning an IP address with type 'ip'. As soon as I use it with %[src] I get a human readable string representation of that ip address. That means I have something like ip2str converter. Is there a converter in HAProxy to get the binary representation of that ip

Re: Is there a converter from type IP to binary?

2025-02-15 Thread Willy Tarreau
Hi Andreas, On Sat, Feb 15, 2025 at 02:30:48PM +, Andreas Mock wrote: > Hi all, > > the fetch method 'src' is returning an IP address with type 'ip'. > As soon as I use it with %[src] I get a human readable string > representation of that ip address. That means I have something > like ip2str