platform: fix crash if link has no name after 5e935dfd
When a VPN goes down, like at suspend, and the link has already disappeared, the new platform logging code tries to print the link information using a link object with only the ifindex filled in. When adding/removing/changing links, internal code often fills in just the ifindex (becuase that's all you need). Thus to_string_link() will always fail if that operation fails. at platform/nm-linux-platform.c:688 at platform/nm-linux-platform.c:1835 at vpn-manager/nm-vpn-connection.c:274 Work around that for now and live with the warnings until we decide what to actually do about to_string_link().