diff --git a/src/include/86box/network.h b/src/include/86box/network.h index 4f514d1ac..ccd6f2f70 100644 --- a/src/include/86box/network.h +++ b/src/include/86box/network.h @@ -150,9 +150,9 @@ typedef struct { } netdev_t; typedef struct { - int has_slirp: 1; - int has_pcap: 1; - int has_vde: 1; + int has_slirp; + int has_pcap; + int has_vde; } network_devmap_t; diff --git a/src/network/network.c b/src/network/network.c index ce81fcc93..38f86f586 100644 --- a/src/network/network.c +++ b/src/network/network.c @@ -123,7 +123,7 @@ netcard_conf_t net_cards_conf[NET_CARD_MAX]; uint16_t net_card_current = 0; /* Global variables. */ -network_devmap_t network_devmap; +network_devmap_t network_devmap = {0}; int network_ndev; netdev_t network_devs[NET_HOST_INTF_MAX];