commit | bde12e3fd5e498a266e813a5751c1b2d21e46ca5 | [log] [tgz] |
---|---|---|
author | Ulrich Weber <ulrich.weber@sophos.com> | Wed Nov 16 19:32:12 2011 +0400 |
committer | Denis Ovsienko <infrastation@yandex.ru> | Tue Dec 13 14:25:25 2011 +0400 |
tree | 3a3a77cc2321925f3d00d192b994a4440da129a0 | |
parent | 42a7debf3c76b8001ce820e104a29d2f693c7cb7 [diff] |
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.