That's by design

The UDF is coded to return the information of the last network interface, if you need to support multiple interfaces, then the UDF needs to be modified to return an array or you need to specify the MAC address of the particular interface you're interested in.
_________________________
There are two types of vessels, submarines and targets.