summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-24 10:51:06 +0200
committerGitHub <noreply@github.com>2024-07-24 10:51:06 +0200
commit23238b8cbf5073a497b5f718e01565fc8263a432 (patch)
tree705c40cfa8792e5b4b3b5eb03e1c3a7d0b100d09
parent04b7006644dfba27feea433d5aa4ceabddb4df30 (diff)
parent79407cd5bbec3194a9b6542418229b33eab05121 (diff)
downloadvyos-1x-23238b8cbf5073a497b5f718e01565fc8263a432.tar.gz
vyos-1x-23238b8cbf5073a497b5f718e01565fc8263a432.zip
Merge pull request #3860 from natali-rs1985/T6596-current
op_mode: T6596: pppoe operation command failed
-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: