summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-07-24 10:33:30 +0300
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-07-24 08:51:50 +0000
commit74e168aff5f6861820d7e0038bfd01e64b532642 (patch)
tree6e4bb79068926a9e2d85a338f9c97fb2fdebf253 /src/op_mode
parent79a7eec862ba489e6787487fdf462dd00b062f55 (diff)
downloadvyos-1x-74e168aff5f6861820d7e0038bfd01e64b532642.tar.gz
vyos-1x-74e168aff5f6861820d7e0038bfd01e64b532642.zip
op_mode: T6596: pppoe operation command failed
(cherry picked from commit 79407cd5bbec3194a9b6542418229b33eab05121)
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/connect_disconnect.py2
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: