|
|
|
@ -263,7 +263,7 @@ class API(NetstringReceiver):
|
|
|
|
print(_cmd)
|
|
|
|
print(_cmd)
|
|
|
|
if _cmd == b'RPTO' and (_dmrid in self.peerTrack):
|
|
|
|
if _cmd == b'RPTO' and (_dmrid in self.peerTrack):
|
|
|
|
if self.debug:
|
|
|
|
if self.debug:
|
|
|
|
print("(API) Passing options line for ID {} to server".format(int_id(peer_id)))
|
|
|
|
print("(API) Passing options line for ID {} to server".format(int_id(_dmrid)))
|
|
|
|
_dport = self.peerTrack[_peer_id]['dport']
|
|
|
|
_dport = self.peerTrack[_peer_id]['dport']
|
|
|
|
self.transport.write(b''.join([b'RPTO',_options]), (self.master,_dport))
|
|
|
|
self.transport.write(b''.join([b'RPTO',_options]), (self.master,_dport))
|
|
|
|
|
|
|
|
|
|
|
|
|