From 5faf2bd03d156df6fdd09ab8491266a5100ddea1 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Wed, 25 Dec 2024 23:17:49 -0600 Subject: ddclient: T6981: Block additional unsupported protocols In ddclient v4, some new supported protocols, viz., directnic, emailonly have configuration that cannot be supported in current VyOS config mode yet. --- src/validators/ddclient-protocol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/validators/ddclient-protocol') diff --git a/src/validators/ddclient-protocol b/src/validators/ddclient-protocol index 0d28039d3..217853939 100755 --- a/src/validators/ddclient-protocol +++ b/src/validators/ddclient-protocol @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -ddclient -list-protocols | grep -vE 'cloudns|porkbun' | grep -qw $1 +ddclient --list-protocols | grep -vE 'cloudns|directnic|emailonly|porkbun' | grep -qw $1 if [ $? -gt 0 ]; then echo "Error: $1 is not a valid protocol, please choose from the supported list of protocols" -- cgit v1.2.3