- fix e2e ACK with maddr in request-uri
authorMichal Matyska <michal.matyska@iptel.org>
Fri, 15 Feb 2008 13:58:30 +0000 (13:58 +0000)
committerMichal Matyska <michal.matyska@iptel.org>
Fri, 15 Feb 2008 13:58:30 +0000 (13:58 +0000)
modules/tm/ut.h

index a497b81..afe1006 100644 (file)
@@ -190,7 +190,7 @@ inline static int get_uri_send_info(str* uri, str* host, unsigned short* port,
 #endif
 #ifdef HONOR_MADDR
        if (parsed_uri.maddr_val.s && parsed_uri.maddr_val.len) {
-               *host=parsed_uri.maddr;
+               *host=parsed_uri.maddr_val;
                DBG("maddr dst: %.*s:%d\n", parsed_uri.maddr_val.len, 
                                parsed_uri.maddr_val.s, parsed_uri.port_no);
        } else