]> git.puffer.fish Git - mirror/frr.git/commit
bgp: use VTY_GET_INTEGER_RANGE() in bgp_clear()
authorUlrich Weber <ulrich.weber@sophos.com>
Wed, 16 Nov 2011 15:32:12 +0000 (19:32 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 13 Dec 2011 10:09:25 +0000 (14:09 +0400)
commit5009160c748b19a543a2f4fbd01d9de69ca71955
treecbdb3acfd9fef49be115a70589416431609b7edf
parent1ce08787910a60635d9b5c09617aaabd55ee00ac
bgp: use VTY_GET_INTEGER_RANGE() in bgp_clear()

Second patch replaces "VTY_GET_LONG ("AS", as_ul, arg);"
by "VTY_GET_INTEGER_RANGE ("AS", as, arg, 1, BGP_AS4_MAX);"
as done in all other code, which parses AS numbers.
bgpd/bgp_vty.c