]> git.proxmox.com Git - mirror_frr.git/commit
lib: some ASNUMs should be forbidden
authoranlan_cs <vic.lan@pica8.com>
Wed, 22 Feb 2023 12:57:07 +0000 (20:57 +0800)
committeranlan_cs <vic.lan@pica8.com>
Fri, 24 Feb 2023 13:13:19 +0000 (21:13 +0800)
commitb7d890dd4567bb1e45fd42cac81e6fbee43e4a9d
tree2e01bbbe63d460fe68abcb6dfd57ae023a42846e
parentee0aaff4bc2f57cdfd250d5f84a3893983246ff5
lib: some ASNUMs should be forbidden

In current code, some ASNUMs with redundant zero are legal,
e.g. "1.01", "01.1", "1.001", "001.1", and more.  They should
be forbidden.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
lib/asn.c