aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent/agent.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/agent/agent.hxx')
-rw-r--r--bbot/agent/agent.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/bbot/agent/agent.hxx b/bbot/agent/agent.hxx
index ba3719e..9c8400f 100644
--- a/bbot/agent/agent.hxx
+++ b/bbot/agent/agent.hxx
@@ -1,5 +1,5 @@
// file : bbot/agent/agent.hxx -*- C++ -*-
-// license : TBC; see accompanying LICENSE file
+// license : MIT; see accompanying LICENSE file
#ifndef BBOT_AGENT_AGENT_HXX
#define BBOT_AGENT_AGENT_HXX
@@ -22,14 +22,14 @@ namespace bbot
extern standard_version tc_ver; // Toolchain version.
extern string tc_id; // Toolchain id.
- extern uint16_t inst; // Instance number.
+ extern uint16_t inst; // Instance number (1-based).
extern string hname; // Our host name.
extern string hip; // Our IP address.
extern uid_t uid; // Our effective user id.
extern string uname; // Our effective user name.
- extern uint16_t offset; // Agent offset.
+ extern uint16_t offset; // Agent offset (10-9990; used for ports).
// Random number generator (currently not MT-safe and limited to RAND_MAX).
//