[connection] Modified test code to print ethernet information correctly

No match.