Another suggestion would be to make `get_nic_device_addr()` have its *result* assigned to `list_nic_addr` instead of passing the list as parameter that will be manipulated.