cleanup router mode, only listening ip is needed and used