[PATCH] NetConfig: Small code cleanup