Subject: | get_addresses() returns just first IP per interface. |
get_addresses() returns just first IP per interface.
But sometimes interface have more then one IP address.
Check attached very simple patch for some workaround.
Subject: | Ethernet.pm.patch |
139c139,140
< $hash{sIP} = shift @asIP;
---
> $hash{asIP} = \@asIP;
> $hash{sIP} = $asIP[0];