check_snmp: Put all privproto/authproto options into help (#2261)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Spellcheck / codespell (push) Has been cancelled
Tests / Running unit and integrationt tests (push) Has been cancelled
Tests / Running rpm build test on almalinux:9 (push) Has been cancelled
Tests / Running rpm build test on fedora:latest (push) Has been cancelled
Tests / Running rpm build test on rockylinux:8 (push) Has been cancelled

This commit is contained in:
Lorenz Kästle 2026-04-24 15:08:23 +02:00 committed by GitHub
parent 1eace3a997
commit 1211edf2ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1034,13 +1034,13 @@ void print_help(void) {
printf(" %s\n", _("SNMPv3 context"));
printf(" %s\n", "-L, --seclevel=[noAuthNoPriv|authNoPriv|authPriv]");
printf(" %s\n", _("SNMPv3 securityLevel"));
printf(" %s\n", "-a, --authproto=[MD5|SHA]");
printf(" %s\n", "-a, --authproto=[MD5|SHA|SHA224|SHA256|SHA384|SHA512]");
printf(" %s\n", _("SNMPv3 auth proto"));
#ifdef HAVE_USM_DES_PRIV_PROTOCOL
printf(" %s\n", "-x, --privproto=[DES|AES]");
printf(" %s\n", "-x, --privproto=[DES|AES|AES192|AES256]");
printf(" %s\n", _("SNMPv3 priv proto (default DES)"));
#else
printf(" %s\n", "-x, --privproto=[AES]");
printf(" %s\n", "-x, --privproto=[AES|AES192|AES256]");
printf(" %s\n", _("SNMPv3 priv proto (default AES)"));
#endif