-
-
-
-
-
-
branches/rel_apv_10_7_3/usr/click/bin/backend/ntp.c (Diff revision 1) update it like below
if (key_id < NTP_MIN_AUTH_KEY_ID || key_id > NTP_MAX_AUTH_KEY_ID) {
TWSD-1680 : “The system allows authentication key ID value 0 even though the valid range is 1–65535 in CLI, which is not expected behavior.”
Review Request #1393 — Created Feb. 19, 2026 and updated
| Information | |
|---|---|
| apatil | |
| APV10 | |
| rel_apv_10_7_3 | |
| TWSD-1680 | |
| Reviewers | |
| mmiriam, peteryeh, pradeep, tanya | |
TWSD-1680 : While configuring the ntp server in CLI, The CLI now checks the authentiation key ID properly. The valid range is 1-65535, and the value 0 is no longer allowed.
vAPV(config)#
vAPV(config)#ntp server "192.168.172.103" nts ?
Key ID (Specifies the authentication key ID. Range: 1 to 65535.)vAPV(config)#ntp server "192.168.172.103" nts 0
Failed to execute "ntp server "192.168.172.103" nts 0"vAPV(config)#
