[PATCH 1/2] connection: Set and unset active flag when changing default gateway