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:
agessaman
2026-07-19 07:40:08 -07:00
parent 0a65e0566b
commit 8fcd7902c2
+1 -1
View File
@@ -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"