PLC_Sim
PLC_Sim copied to clipboard
GetAvailableAdapterName throws error
The GetAvailableAdapterName command in NetInfo has some issues. If the external network interface does not have IPv6 enabled, it throws an index out of range error. Upon further investigation, it appears that this method defaults to retrieving the second unicast address under that network adapter. However, if IPv6 protocol is not enabled, the network adapter will only have one unicast address, resulting in an error.