Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
store system id when bind is successful
Browse files Browse the repository at this point in the history
  • Loading branch information
bjyoungblood committed Dec 2, 2011
1 parent 243d6dc commit eb95909
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/server-connection.js
Expand Up @@ -350,6 +350,7 @@ var serverConnection = function(socket, server, closeConnectionServerCallback, c

// Create a new PDU with our response
if (status === "ESME_ROK") {
self.system_id = pdu.system_id.toString('ascii');
self.bound = true;
self.socket.setTimeout(self.config.timeout * 1000);
self.socket.on('timeout', self.enquire_link);
Expand Down

0 comments on commit eb95909

Please sign in to comment.