Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(app): display robot ip not robot ip subnet base (#4411)
pr #4372 (ac74c12) added the netmask package (https://www.npmjs.com/package/netmask) to parse the robot's networking response of CIDR-format ip/subnetbits into a separate ip and subnet mask. Unfortunately, that PR was building a Netmask object and then using its base member to represent the IP address. However, a Netmask object only represents information _about the subnet_, not about a specific ip; the base attribute is the base address of the subnet, e.g. ip & subnetmask. Instead, split off the CIDR suffix and use the result as the IP address.
- Loading branch information