Skip to content

Commit

Permalink
Show remote port number on start/end
Browse files Browse the repository at this point in the history
Patch provided by Will Currie - THANK YOU!
  • Loading branch information
ar committed Jul 18, 2012
1 parent 74d306c commit 7def5a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CREDITS
Expand Up @@ -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
-------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion jpos/src/main/java/org/jpos/iso/ISOServer.java
Expand Up @@ -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) {
Expand Down

0 comments on commit 7def5a2

Please sign in to comment.