summaryrefslogtreecommitdiff
path: root/src/completion
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-09-22 12:29:22 -0500
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-11-30 21:42:23 -0600
commita886b2efdd4dde56b407c1e860485a79b5bad210 (patch)
treeb8b4e183b0537f5ffc1e2411b1fbadb0be39614b /src/completion
parent7a1711419eeaaf6bee837e824eec977b16767427 (diff)
downloadvyos-1x-a886b2efdd4dde56b407c1e860485a79b5bad210.tar.gz
vyos-1x-a886b2efdd4dde56b407c1e860485a79b5bad210.zip
ddclient: T5612: Adjust validator and completion for ddclient
Adjust the validator and completion for ddclient to remove unsupported or superfluous protocols. Specifically, - remove 'nsupdate' protocol from the list because there is a separate config path for that protocol (rfc2136) - remove 'cloudns' protocol from the list because it has non standard configuration and is not supported by our configurator at this time
Diffstat (limited to 'src/completion')
-rwxr-xr-xsrc/completion/list_ddclient_protocols.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/completion/list_ddclient_protocols.sh b/src/completion/list_ddclient_protocols.sh
index 75fb0cf44..3b4eff4d6 100755
--- a/src/completion/list_ddclient_protocols.sh
+++ b/src/completion/list_ddclient_protocols.sh
@@ -14,4 +14,4 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-echo -n $(ddclient -list-protocols)
+echo -n $(ddclient -list-protocols | grep -vE 'nsupdate|cloudns')