Page MenuHomePhabricator

Commit fails if OpenVPN is setup in server mode and there are clients with fixed IP addresses
Closed, ResolvedPublicBUG


# set interfaces openvpn vtun0 server client bar ip
# commit
[ interfaces openvpn vtun0 ]
Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/lib/perl5/NetAddr/IP/ line 1040.

[[interfaces openvpn vtun0]] failed
Commit failed


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Will be filled on close

The issue was with variable scoping, the variable for server subnet that was supposed to be global was instead updated in the local scope.

dmbaturin closed this task as Resolved.Nov 10 2017, 4:20 PM
dmbaturin claimed this task.