aboutsummaryrefslogtreecommitdiff
path: root/bbot/tftp
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/tftp')
-rw-r--r--bbot/tftp5
1 files changed, 3 insertions, 2 deletions
diff --git a/bbot/tftp b/bbot/tftp
index 581d41c..5433b89 100644
--- a/bbot/tftp
+++ b/bbot/tftp
@@ -19,9 +19,10 @@ namespace bbot
{
public:
// The map argument specifies the path mapping rules, one per line (see
- // the tftpd-hpa --map-file|-m option for details).
+ // the tftpd-hpa --map-file|-m option for details). If port is 0, then
+ // it is automatically assigned.
//
- tftp_server (const string& map);
+ tftp_server (const string& map, uint16_t port);
// Return the assigned port.
//