mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-07-26 19:42:46 +02:00
docs(cli): state the zero semantics of flood.max in the set help
OpenHop treats max_flood_hops 0 as unlimited while firmware's flood.max 0 forwards nothing — the inverse. Until that edge is decided alongside the policy-engine flood caps, say so in the help so a firmware-habituated admin does not set 0 expecting to disable forwarding (that is what 'set repeat off' is for) and silently get unlimited flooding instead.
This commit is contained in:
@@ -354,7 +354,7 @@ class MeshCLI:
|
||||
" set allow.read.only on|off Read-only access\n"
|
||||
" set advert.interval <min> 60-240 minutes\n"
|
||||
" set flood.advert.interval <hr> 3-168 hours\n"
|
||||
" set flood.max <hops> Max flood hops (max 64)\n"
|
||||
" set flood.max <hops> Max flood hops (max 64; 0 = unlimited, unlike firmware)\n"
|
||||
" set path.hash.mode <0-2> Path hash mode (0=1B,1=2B,2=3B)\n"
|
||||
" set loop.detect <off|minimal|moderate|strict> Flood loop detection\n"
|
||||
" set rxdelay <val> RX delay base (0-20)\n"
|
||||
|
||||
Reference in New Issue
Block a user