]> 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:25:25 +0000 (14:25 +0400)
commitbde12e3fd5e498a266e813a5751c1b2d21e46ca5
tree3a3a77cc2321925f3d00d192b994a4440da129a0
parent42a7debf3c76b8001ce820e104a29d2f693c7cb7
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