diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2024-07-24 10:33:30 +0300 |
---|---|---|
committer | Nataliia Solomko <natalirs1985@gmail.com> | 2024-07-24 10:33:30 +0300 |
commit | 79407cd5bbec3194a9b6542418229b33eab05121 (patch) | |
tree | e65c18c7c1a22a4f06964ac67e933d6d2c7118d5 /src | |
parent | 150d7c8c4d400479eac1f30da9c6f3eaa3503f28 (diff) | |
download | vyos-1x-79407cd5bbec3194a9b6542418229b33eab05121.tar.gz vyos-1x-79407cd5bbec3194a9b6542418229b33eab05121.zip |
op_mode: T6596: pppoe operation command failed
Diffstat (limited to 'src')
-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: |