msg.setSrc(new IpAddress(src.getPort(), false));
if(null_src_addresses) msg.setSrc(new IpAddress(src.getPort(), false));
    void nullAddresses(Message msg, IpAddress dest, IpAddress src) {        msg.setDest(null);        if(!dest.isMulticastAddress()) { // unicast            if(src != null) {                msg.setSrc(new IpAddress(src.getPort(), false)); // null the host part, leave the port                if(src.getAdditionalData() != null)                    ((IpAddress)msg.getSrc()).setAdditionalData(src.getAdditionalData());            }            else {                msg.setSrc(null);            }        }        else {  // multicast            if(src != null) {                msg.setSrc(new IpAddress(src.getPort(), false));                if(src.getAdditionalData() != null)                    ((IpAddress)msg.getSrc()).setAdditionalData(src.getAdditionalData());            }        }    }