summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-16 20:26:38 +0100
committerChristian Poessinger <christian@poessinger.com>2022-03-16 20:26:38 +0100
commitb1449aa2bd2008f51b75a9976108f416209a5567 (patch)
tree2e69c310537d39263c17f7ee8bf8b88b0aa8bd9c /op-mode-definitions
parent9f40bd4dd5dd51d895acb889b9c2ac37e9c40727 (diff)
downloadvyos-1x-1.3.1.tar.gz
vyos-1x-1.3.1.zip
T3506: loadkey: fix build error1.3.1
Commit 92f6feca ("T3506: loadkey: Add `generate public-key-command` command") backported a change from current for the op-mode command definitions. Unfortunately VyOS 1.3 (equuleus) uses the old GCC preprocessor which is unable to properly handle long strings containing control characters lilke // (CPP-comment).
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/generate-public-key-command.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/generate-public-key-command.xml.in b/op-mode-definitions/generate-public-key-command.xml.in
index 21f0f56f0..024cfe594 100644
--- a/op-mode-definitions/generate-public-key-command.xml.in
+++ b/op-mode-definitions/generate-public-key-command.xml.in
@@ -19,7 +19,7 @@
<properties>
<help>Local path or remote URL of OpenSSH public key</help>
<completionHelp>
- <list><![CDATA[<http[s]://[<username>:<password>@]<hostname>/<path-to-file>> <ftp://[<username>[:<password>]@]<hostname>/<path-to-file>> <tftp://<hostname>/<path-to-file>> <sftp://[<username>[:<password>]@]<hostname>/<path-to-file>> <scp://[<username>[:<password>]@]<hostname>/<path-to-file>> <[file://]/<path-to-file>>]]></list>
+ <list>URL PATH</list>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/generate_public_key_command.py "$4" "$6"</command>