Cleaned a bit ethernet code