Settings: fix crash bugs in ethernet settings.