slirp: fix port forwarding and handle configuration with multiple nics

This commit is contained in:
Adrien Moulin
2022-08-26 18:22:19 +02:00
parent 00c87bc4ad
commit 448bd9d958
3 changed files with 5 additions and 2 deletions

View File

@@ -127,6 +127,7 @@ struct _netcard_t {
mutex_t *tx_mutex;
mutex_t *rx_mutex;
pc_timer_t timer;
int card_num;
};
typedef struct {