Only regenerate prefixes after connect.