Bug 444689 - Importing wireguard conf that has separate lines for allowedIP only imports one.
Summary: Importing wireguard conf that has separate lines for allowedIP only imports one.
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-30 21:45 UTC by quackdoctech
Modified: 2024-12-23 18:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description quackdoctech 2021-10-30 21:45:57 UTC
SUMMARY
When importing a wireguard config file, if the config has separate lines for AllowedIPs, it will only import one IP address instead of both (or all)

STEPS TO REPRODUCE
1. Create a wireguard configuration file with split two AllowedIPs lines. IE.
AllowedIPs = 0.0.0.0/0
AllowedIPs = ::/0

2. Import the conf file


OBSERVED RESULT
Only one line gets imported to the Peers > AllowedIPs

EXPECTED RESULT
Bothlines get properly added and formatted to Peers > AllowedIPs

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch
(available in About System)
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
plasma-nm 5.23.2-1

Probably a minor issue for most people, but some wireguard configurations get served in this manor, whether right or wrong.