mirror_frr/tests/lib/cli
David Lamparter 9a7fc1bd7a 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>
2017-05-15 10:27:43 -04:00
..
.gitignore *: track version & "defaults" in configs 2017-03-28 19:18:42 +02:00
common_cli.c lib: remove remaining struct zlog * args 2017-03-08 00:15:40 +01:00
common_cli.h tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00
test_cli.c tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00
test_cli.in tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00
test_cli.py tests: add pytest testrunners 2017-02-13 17:43:47 +01:00
test_cli.refout.in lib: cli: fix IPv6 address partial matching 2017-05-15 10:27:43 -04:00
test_commands.c tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00
test_commands.in tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00
test_commands.py tests: add pytest testrunners 2017-02-13 17:43:47 +01:00
test_commands.refout tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00