summaryrefslogtreecommitdiff
path: root/src/validators/ddclient-protocol
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2024-12-25 23:17:49 -0600
committerIndrajit Raychaudhuri <irc@indrajit.com>2026-07-24 12:17:23 -0500
commit5faf2bd03d156df6fdd09ab8491266a5100ddea1 (patch)
treebdcd3f340f2a2c058ff38669a3b00bd4a8dcb1ad /src/validators/ddclient-protocol
parent65c8d1538d0fa68d4e7306aa152cdc39ba082b6b (diff)
downloadvyos-1x-5faf2bd03d156df6fdd09ab8491266a5100ddea1.tar.gz
vyos-1x-5faf2bd03d156df6fdd09ab8491266a5100ddea1.zip
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.
Diffstat (limited to 'src/validators/ddclient-protocol')
-rwxr-xr-xsrc/validators/ddclient-protocol2
1 files changed, 1 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
-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"