--dest doesn't work with --export-config

This commit is contained in:
Ian McEwen
2024-04-21 10:35:59 -07:00
parent 393c765557
commit 56d1dcafe5

View File

@@ -602,6 +602,9 @@ def onConnected(interface):
print("Writing modified configuration to device")
if args.export_config:
if args.dest != BROADCAST_ADDR:
print("Exporting configuration of remote nodes is not supported.")
return
# export the configuration (the opposite of '--configure')
closeNow = True
export_config(interface)