diff --git a/sbin/natd/natd.c b/sbin/natd/natd.c index 894e82467f9..aa1628a6312 100644 --- a/sbin/natd/natd.c +++ b/sbin/natd/natd.c @@ -618,7 +618,7 @@ static void DoGlobal (int fd) if (wrote != bytes) { - if (errno == EMSGSIZE) { + if (errno == EMSGSIZE && mip != NULL) { if (mip->ifMTU != -1) SendNeedFragIcmp (icmpSock,