Since your Sri Lankan ETA visa is attached to your old passport number, you will need to re-apply for a Sri Lankan ETA that ties to your new passport number. Electronic visas are not transferable between passports.