mirror of
https://github.com/amnezia-vpn/amneziawg-tools.git
synced 2026-10-13 21:34:42 +00:00
[GH-ISSUE #61] awg showconf prints AWG 3.0 parameters that were never set #26
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-tools#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hoaxisr on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-tools/issues/61
On a device with no AWG 3.0 parameters configured,
awg showconfemits them all as zero:awg showalready hides empty ranges afterc8aaf3d("fix: silence empty ranges in awg show"), but showconf still prints them. Round tripping a plain AWG 2.0 config through showconf produces something that reads as an AWG 3.0 config, which breaks tools that store, compare or classify configs by their contents.Omitting a key whose range is zero, the same way
awg showdoes now, would keep the two commands consistent.Seen with tools v3.0.20260730 against the v3.0.20260731 kernel module.