You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
security/fix: Final review corrections for Ethernet runtime config
Security fixes:
- IP validation: bounds checking for octets (0-255)
- ETH.config() return value now checked with distinct logging
- set ip 0.0.0.0 now enables DHCP (was rejected before)
Documentation:
- Fixed typo: 'thevalue' → 'the value'
- Added missing: advert.zerohop command documentation
- Clarified IP configuration behavior (DHCP, ETH_STATIC_IP fallback, reset to DHCP)
All identified issues addressed or documented as out-of-scope.
PR #2260 ready for maintainer review.
Copy file name to clipboardExpand all lines: docs/cli_commands.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,12 @@ This document provides an overview of CLI commands that can be sent to MeshCore
64
64
65
65
---
66
66
67
+
### Send a zero-hop advert
68
+
**Usage:**
69
+
-`advert.zerohop`
70
+
71
+
---
72
+
67
73
### Start an Over-The-Air (OTA) firmware update
68
74
**Usage:**
69
75
-`start ota`
@@ -792,7 +798,7 @@ region save
792
798
793
799
---
794
800
795
-
#### View or change thevalue of a sensor
801
+
#### View or change the value of a sensor
796
802
**Usage:**
797
803
-`sensor get <key>`
798
804
-`sensor set <key> <value>`
@@ -910,7 +916,7 @@ region save
910
916
911
917
**Default:**`0.0.0.0` (uses DHCP if not configured)
912
918
913
-
**Note:** Requires reboot to apply. If no valid IP is set, device will use DHCP at boot.
919
+
**Note:** Requires reboot to apply. Set to `0.0.0.0` to revert to DHCP. If `ETH_STATIC_IP`is defined in build flags and DHCP fails, that compile-time address is used as fallback.
0 commit comments