1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

make sta udp receiver working

This commit is contained in:
andreas
2024-11-11 19:52:44 +01:00
parent 82f5e17987
commit 4bded7bbb4
2 changed files with 2 additions and 2 deletions

View File

@@ -229,7 +229,7 @@
if (!v.match(/[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*/))
return "must be in the form 224.0.0.1";
let parts=v.split(".");
let o1=parseInt(v[0]);
let o1=parseInt(parts[0]);
if (o1 < 224 || o1 > 239) return "mulicast address must be in the range 224.0.0.0 to 239.255.255.255"
}