update ethernet.c: logE->logD