Skip to content

Conversation

@DasSkelett
Copy link

This contains necessary changes for Place1/wg-access-server#157

Changes

IfaceConfig.Address is now a slice of strings []string, to accommodate multiple interface addresses, one for IPv6 and one for IPv4.

(wg *WireGuardInterfaceImpl) AddPeer() also takes a slice of strings for addressCIDR, to allow peers to be added with one IPv6 address and one IPv4 address.

For ReadConfig() I added a basic table-based unit test.

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.

1 participant