set domain part of gw in network.xml only if domain is defined
white space tunes