Skip to content

Commit b4da65d

Browse files
committed
python: ConfigParser does not accept --bind
The --bind option is not supported by the OpenVPN 3 Core library, so we filter it out as an ignored option. Signed-off-by: David Sommerseth <[email protected]>
1 parent 2ef4ec5 commit b4da65d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/python/openvpn3/ConfigParser.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,13 @@ def __init_arguments(self):
717717
+ 'OpenVPN 3 due to different credentials storage '
718718
+ 'model.')
719719

720+
ignored.add_argument('--bind',
721+
metavar='KEYWORDS',
722+
action=ConfigParser.IgnoreArg,
723+
nargs='*',
724+
help='Bind to local address and port. Not '
725+
+ 'configurable with OpenVPN 3')
726+
720727
ignored.add_argument('--chroot',
721728
metavar='DIR',
722729
action=ConfigParser.IgnoreArg,

0 commit comments

Comments
 (0)