Commit 43d3f1b
committed
Report actual versionString in FSEQ ping
Use the runtime versionString for sys["version"] instead of the hardcoded "4.0" and parse versionString to derive the ping packet's major/minor version fields. The code strips any suffix after a '-' and extracts major/minor from the X.Y form, falling back to 0 if not present, so discovery packets and system info reflect the actual firmware version.1 parent b2ed744 commit 43d3f1b
1 file changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
280 | 293 | | |
281 | 294 | | |
282 | 295 | | |
| |||
0 commit comments