Retrieving a single IP address

(imported topic written by SLB)

Hi, we’re using relevance to retrieve IP address details and this is great as it retrieves addresses on all adaptors but is it possible to retrieve only just 1 address what whatever adaptor is 1st in the list? The relevance currently used is

addresses whose (it as string != “0.0.0.0”) of ip interfaces whose (loopback of it = false) of network

Being a bit of a newbie to relevance, I’m hitting a brick wall trying to achieve this.

Thanks in advance

Rob

(imported comment written by SLB)

No worries, I figured it out by looking over some previous posting here

preceding text of last ", " of (concatenation ", " of (addresses whose (it as string != “0.0.0.0”) of ip interfaces whose (loopback of it = false) of network as string))

(imported comment written by brolly3391)

Welcome to the forums SLB,

I love it when people figure things out on their own. It speaks to the ease of use of the relevance language.

Feel free to stop by anytime with your BigFix questions.

Cheers,

Brolly