| commit | 5009160c748b19a543a2f4fbd01d9de69ca71955 | [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:09:25 2011 +0400 |
| tree | cbdb3acfd9fef49be115a70589416431609b7edf | |
| parent | 1ce08787910a60635d9b5c09617aaabd55ee00ac [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.