diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2024-07-24 10:33:30 +0300 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-24 08:51:50 +0000 |
commit | 74e168aff5f6861820d7e0038bfd01e64b532642 (patch) | |
tree | 6e4bb79068926a9e2d85a338f9c97fb2fdebf253 | |
parent | 79a7eec862ba489e6787487fdf462dd00b062f55 (diff) | |
download | vyos-1x-74e168aff5f6861820d7e0038bfd01e64b532642.tar.gz vyos-1x-74e168aff5f6861820d7e0038bfd01e64b532642.zip |
op_mode: T6596: pppoe operation command failed
(cherry picked from commit 79407cd5bbec3194a9b6542418229b33eab05121)
-rwxr-xr-x | src/op_mode/connect_disconnect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/connect_disconnect.py b/src/op_mode/connect_disconnect.py index 379890c54..8903f916a 100755 --- a/src/op_mode/connect_disconnect.py +++ b/src/op_mode/connect_disconnect.py @@ -97,7 +97,7 @@ def main(): group = parser.add_mutually_exclusive_group() group.add_argument("--connect", help="Bring up a connection-oriented network interface", action="store_true") group.add_argument("--disconnect", help="Take down connection-oriented network interface", action="store_true") - group.add_argument("--interface", help="Interface name", action="store", required=True) + parser.add_argument("--interface", help="Interface name", action="store", required=True) args = parser.parse_args() if args.connect or args.disconnect: |