Don't reload routing if only changing the hostname

Ticket: #3623