Skip to content

Commit

Permalink
Use uniq clientID
Browse files Browse the repository at this point in the history
  • Loading branch information
destroyedlolo committed Jun 28, 2018
1 parent 5766ae6 commit 9381460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Selenites/MQTT_Trace.sel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if not arg then
end

-- Connection, subscription and finally waiting for messages
Brk, err = SelMQTT.Connect( "tcp://localhost:1883", { reliable=false, clientID=MQTT_Trace } )
Brk, err = SelMQTT.Connect( "tcp://localhost:1883", { reliable=false, clientID='MQTTTrace_'..Selene.getHostname().."_"..Selene.getPid() } )
if not Brk then
print( err )
return
Expand Down

0 comments on commit 9381460

Please sign in to comment.