summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-07-24 10:33:30 +0300
committerNataliia Solomko <natalirs1985@gmail.com>2024-07-24 10:33:30 +0300
commit79407cd5bbec3194a9b6542418229b33eab05121 (patch)
treee65c18c7c1a22a4f06964ac67e933d6d2c7118d5 /src/op_mode
parent150d7c8c4d400479eac1f30da9c6f3eaa3503f28 (diff)
downloadvyos-1x-79407cd5bbec3194a9b6542418229b33eab05121.tar.gz
vyos-1x-79407cd5bbec3194a9b6542418229b33eab05121.zip
op_mode: T6596: pppoe operation command failed
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: