1
0
mirror of https://github.com/simh/simh.git synced 2026-02-26 08:44:38 +00:00

ETHER: Avoid meaningless "No description available" output when opening device.

This commit is contained in:
Mark Pizzolato
2016-02-07 06:51:08 -08:00
parent 1cd8925894
commit 7ad92f15fd

View File

@@ -2109,6 +2109,8 @@ if (errbuf[0]) {
if (r != SCPE_OK)
return r;
if (!strcmp (desc, "No description available"))
strcpy (desc, "");
sim_printf ("Eth: opened OS device %s%s%s\r\n", savname, desc[0] ? " - " : "", desc);
/* get the NIC's hardware MAC address */