Page MenuHomePhabricator

validation logic in `interfaces wireguard wgX address x.x.x.x broken
Closed, ResolvedPublicBUG

Description

The validation logic in interfaces wireguard wgX address x.x.x.x is broken for /31 networks where it doesn't accept the "broadcast address", which is valid in this case.

# set interfaces wireguard wg0 address 172.16.0.4/31

  Invalid value
  Value validation failed
  Set failed

Details

Difficulty level
Unknown (require assessment)
Version
`1.2.0-rc1` and `1.2.0-rolling+201810090337`
Why the issue appeared?
Will be filled on close
afics created this task.Tue, Oct 9, 7:15 PM
afics updated the task description. (Show Details)
syncer triaged this task as Normal priority.
hagbard claimed this task.Wed, Oct 10, 3:24 PM

Was this by any chance merged to RC3 or will it first arrive in RC4 ?

syncer added a subscriber: syncer.Tue, Oct 16, 5:53 PM

should be in rc3