aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-29 15:14:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-29 15:14:33 +0200
commit1364413cee696ff60f4dd1e3ac1eb281ac7a4e8f (patch)
treee29faeca957ef381d4c2ccbda67dce90fe3e3e01 /bbot/agent
parentdb938098044fc5fb76fcdfbec2a28d232028aa51 (diff)
Use fixed TFTP ports for robustness
This way we can cleanup old iptables entries in case or crash/termination
Diffstat (limited to 'bbot/agent')
-rw-r--r--bbot/agent6
1 files changed, 3 insertions, 3 deletions
diff --git a/bbot/agent b/bbot/agent
index b88c892..990ad2d 100644
--- a/bbot/agent
+++ b/bbot/agent
@@ -18,9 +18,9 @@ namespace bbot
extern const string bs_prot; // Bootstrap protocol version.
- extern string tc_name; // Toolchain name.
- extern size_t tc_num; // Toolchain number.
- extern string tc_id; // Toolchain id.
+ extern string tc_name; // Toolchain name.
+ extern uint16_t tc_num; // Toolchain number.
+ extern string tc_id; // Toolchain id.
extern string hname; // Our host name.
extern uid_t uid; // Our effective user id.