Permalink
Browse files

Show remote port number on start/end

Patch provided by Will Currie - THANK YOU!
  • Loading branch information...
1 parent 74d306c commit 7def5a27a575b13a00ad05b643ca37d0ea7e913a @ar ar committed Jul 18, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −0 CREDITS
  2. +2 −1 jpos/src/main/java/org/jpos/iso/ISOServer.java
View
@@ -82,6 +82,7 @@ Damien Grandemange <damien.grandemange@gmail.com>
Barham, Chris <cbarham@tnsi.com>
Geoff Chiang <geoffchiang@gmail.com>
Jason Smith <jsmith@marqeta.com>
+Will Currie <wscurrie@gmail.com>
Contributors from other OpenSource projects
-------------------------------------------
@@ -106,7 +106,8 @@ public void run() {
if (channel instanceof BaseChannel) {
LogEvent ev = new LogEvent (this, "session-start");
Socket socket = ((BaseChannel)channel).getSocket ();
- realm = realm + socket.getInetAddress();
+ realm = realm + "/" + socket.getInetAddress().getHostAddress() + ":"
+ + socket.getPort();
try {
checkPermission (socket, ev);
} catch (ISOException e) {

0 comments on commit 7def5a2

Please sign in to comment.