trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject [1/2] git commit: TS-1137 Wrong returned value of incoming port address. Author: Yakov Kopel
Date Sat, 21 Apr 2012 00:59:23 GMT
Updated Branches:
  refs/heads/master 0a83ec794 -> ceb646740


TS-1137 Wrong returned value of incoming port address.
Author: Yakov Kopel


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/03d6ea17
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/03d6ea17
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/03d6ea17

Branch: refs/heads/master
Commit: 03d6ea1748aa2878c6e8d5c91b1ac0258e60c30c
Parents: 0a83ec7
Author: Yakov Kopel <ykopel@websense.com>
Authored: Fri Apr 20 18:55:46 2012 -0600
Committer: Leif Hedstrom <leif@ogre.com>
Committed: Fri Apr 20 18:58:25 2012 -0600

----------------------------------------------------------------------
 proxy/InkAPI.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/03d6ea17/proxy/InkAPI.cc
----------------------------------------------------------------------
diff --git a/proxy/InkAPI.cc b/proxy/InkAPI.cc
index 0cb4eb1..6145a2f 100644
--- a/proxy/InkAPI.cc
+++ b/proxy/InkAPI.cc
@@ -5307,7 +5307,7 @@ TSHttpTxnClientIncomingPortGet(TSHttpTxn txnp)
   sdk_assert(sdk_sanity_check_txn(txnp) == TS_SUCCESS);
 
   HttpSM *sm = (HttpSM *) txnp;
-  return ats_ip_port_host_order(&sm->t_state.client_info.addr);
+  return sm->t_state.client_info.port;
 }
 
 sockaddr const*


Mime
View raw message