Browse code

c/f: fix d7e730131 sbc:add option next_hop_fixed=[yes|no], for fixing the next_hop

Stefan Sayer authored on 22/11/2013 20:43:00
Showing 1 changed files
... ...
@@ -472,7 +472,7 @@ void AmBasicSipDialog::updateDialogTarget(const AmSipReply& reply)
472 472
     setRemoteUri(reply.to_uri);
473 473
     if(!getNextHop().empty() && !next_hop_fixed) {
474 474
       DBG("updating next_hop from reply to %s:%u\n",
475
-	  reply.remote_ip, reply.remote_port);
475
+	  reply.remote_ip.c_str(), reply.remote_port);
476 476
       setNextHop(reply.remote_ip + ":"
477 477
 		 + int2str(reply.remote_port));
478 478
     }