Change gateway hosts back to .../x-... when hostname is reset