Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn users when deleting current IP being used or the last interface IP #2427

Merged

Conversation

JoaoMario109
Copy link
Contributor

@JoaoMario109 JoaoMario109 commented Mar 5, 2024

Add the check for when the user is trying to delete the IP being used to connect to BlueOS or when trying to delete the last IP of some interface.

Closes #2406

@JoaoMario109
Copy link
Contributor Author

Changed to have this implementation without directly depending on #2426 since its not defined when it will be able to merge

Copy link
Collaborator

@joaoantoniocardoso joaoantoniocardoso left a comment

Choose a reason for hiding this comment

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

Just some text suggestions.

* Add a check layer prior to deleting IPs on interfaces avoiding to
  delete the last IP or curently being useed IP by mistake
* Add a check layer prior to disconnecting from the WiFi
  network currently being used to access BlueOS
@joaoantoniocardoso joaoantoniocardoso merged commit d65793d into bluerobotics:master Mar 14, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

we should warn the users if they delete the only ip address on a network
3 participants