[[PATCHv2]] Fix hook for static address configuration.