rem: backup_mhomed=mhomed; mhomed=0; mhomed=backup_mhomed;
context: int init_rb( struct retr_buf *rb, struct sip_msg *msg){	/*struct socket_info* send_sock;*/	struct via_body* via;	int proto;	int backup_mhomed;	via=msg->via1;	if (!reply_to_via) {		update_sock_struct_from_ip( &rb->dst.to, msg );		proto=msg->rcv.proto;	} else {		/*init retrans buffer*/		if (update_sock_struct_from_via( &(rb->dst.to), msg, via )==-1) {			LOG(L_ERR, "ERROR: init_rb: cannot lookup reply dst: %.*s\n",				via->host.len, via->host.s );			ser_error=E_BAD_VIA;			return 0;		}		proto=via->proto;	}	rb->dst.proto=proto;	rb->dst.proto_reserved1=msg->rcv.proto_reserved1;	/* turn off mhomed for generating replies -- they are ideally sent to where	   request came from to make life with NATs and other beasts easier	*/	backup_mhomed=mhomed;	mhomed=0;	mhomed=backup_mhomed;	/* use for sending replies the incoming interface of the request -bogdan */	/*send_sock=get_send_socket(msg, &rb->dst.to, proto);	if (send_sock==0) {		LOG(L_ERR, "ERROR: init_rb: cannot fwd to af %d, proto %d "			"no socket\n", rb->dst.to.s.sa_family, proto);		ser_error=E_BAD_VIA;		return 0;	}*/	rb->dst.send_sock=msg->rcv.bind_address;	return 1;}