diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-05-11 11:26:40 +0200 |
|---|---|---|
| committer | Quentin Young <qlyoung@users.noreply.github.com> | 2017-05-15 10:27:43 -0400 |
| commit | 9a7fc1bd7a4961793bfb4340a4c4819e217fcb70 (patch) | |
| tree | 628c33445a53f73c4a7882f0fb553dc6e090197c /tests/lib/test_checksum.c | |
| parent | 4e3e06d6384c1e0a7106d740945344d095f02b9c (diff) | |
lib: cli: fix IPv6 address partial matching
A partially-entered IPv6 address would never return a "partly_match",
meaning some possible completions weren't listed by the matcher.
This specifically breaks autocompleting BGP IPv6 neighbor addresses.
Before:
aegaeon# show ip bg ne 2001:<?>
WORD Neighbor on BGP configured interface
After:
aegaeon# show ip bg ne 2001:<?>
WORD Neighbor on BGP configured interface
X:X::X:X Neighbor to display information about
2001:db8::2
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/lib/test_checksum.c')
0 files changed, 0 insertions, 0 deletions
