-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(web): proper netmask handling (#1847)
## Problem Backend expects a prefix length instead of netmask, but unfortunately current code base is not ensuring of making the conversion before sending a request, making the connection form fail silently. ## Solution Adapt the `formatIp` util method for relying in `ipPrefixFor` to make such a conversion. ## Testing - Updated unit test - Tested manually --- Fixes #1846 Related to #530
- Loading branch information
Showing
3 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
------------------------------------------------------------------- | ||
Fri Dec 20 12:53:41 UTC 2024 - David Diaz <[email protected]> | ||
|
||
- Fix netmask handling to avoid a silent connection form error | ||
(gh#agama-project/agama#1846). | ||
|
||
------------------------------------------------------------------- | ||
Tue Dec 10 14:43:08 UTC 2024 - David Diaz <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters