From: Toni Wilen Date: Tue, 2 Jun 2015 17:05:41 +0000 (+0300) Subject: A2065 Cable not connected crash fix. X-Git-Tag: 3100~10 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=bb5e5f19dc57c8215393be03c3ddec0524c6061f;p=francis%2Fwinuae.git A2065 Cable not connected crash fix. --- diff --git a/ethernet.cpp b/ethernet.cpp index 45ec498f..2acf8503 100644 --- a/ethernet.cpp +++ b/ethernet.cpp @@ -59,6 +59,8 @@ void slirp_output (const uint8 *pkt, int pkt_len) void ethernet_trigger (struct netdriverdata *ndd, void *vsd) { + if (!ndd) + return; switch (ndd->type) { case UAENET_SLIRP: