Skip to content

setup_network.sh: fix pnp address check - #3720

Merged
benderl merged 1 commit into
openWB:masterfrom
rleidner:fix_pnp_addr
Jul 28, 2026
Merged

setup_network.sh: fix pnp address check#3720
benderl merged 1 commit into
openWB:masterfrom
rleidner:fix_pnp_addr

Conversation

@rleidner

Copy link
Copy Markdown
Collaborator

fixes issue #3719

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes plug’n’play IP address validation in setup_network.sh so correctly formatted IPv4 addresses (e.g., 192.168.193.251) are no longer rejected, addressing issue #3719.

Changes:

  • Replaced the IPv4 validation regex with a Bash [[ ... =~ ... ]]-compatible expression (removes unsupported PCRE-style non-capturing groups).
  • Ensures setup_pnp_network() accepts valid PnP IPs from MQTT instead of falling back to the default.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@benderl benderl added the bug Something isn't working label Jul 28, 2026
@benderl benderl self-assigned this Jul 28, 2026
@benderl
benderl merged commit 0c38294 into openWB:master Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants