Project

General

Profile

Actions

Bug #4729

closed

OpenVPN Advanced config fails on double save

Added by Florian Apolloner almost 10 years ago. Updated almost 10 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
-
Start date:
05/23/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
All

Description

Saving

mode server
push "topology subnet" 
ifconfig 172.22.2.1 255.255.255.0
ifconfig-pool 172.22.2.2 172.22.2.100 255.255.255.0
push "route-gateway 172.22.2.1" 

in the OpenVPN advanced config results in a proper config file, but on reload the webui shows:
mode server
push "topology subnet"ifconfig 172.22.2.1 255.255.255.0
ifconfig-pool 172.22.2.2 172.22.2.100 255.255.255.0
push "route-gateway 172.22.2.1" 

resulting in a broken config on the next save.

Actions #1

Updated by Florian Apolloner almost 10 years ago

Oh, separating the options by a semicolon makes it work -- I guess the UI could be a little bit more forgiving here…

Actions #2

Updated by Chris Buechler almost 10 years ago

  • Status changed from New to Not a Bug
  • Affected Version deleted (2.2.2)

the semicolon separators are required, as it says in the notes field there. Some additional input validation there wouldn't hurt if it's something you're interested in pursuing, pull requests welcome.

Actions

Also available in: Atom PDF