]> git.puffer.fish Git - matthieu/frr.git/commit
lib: drop heuristic IPv6 address recognition
authorRoman Hoog Antink <rha@open.ch>
Wed, 9 May 2012 06:35:34 +0000 (06:35 +0000)
committerDavid Lamparter <equinox@diac24.net>
Mon, 21 May 2012 13:41:14 +0000 (15:41 +0200)
commit7c9c6aebe8daabece9e78d47727dcdcb757c0a63
treecba28a59fdd2012b8cadba54335901b47dd255de
parent36735ed988f96810e78d0ace2f7d8e6397db5c50
lib: drop heuristic IPv6 address recognition

* command.c: (cmd_ipv6_match) Drop IPv6 address recognition
  heuristics and solely rely on inet_pton, because strings
  like "abcd" were mistaken for IPv6 addresses.
  This affects e.g. the command "neighbour WORD peer-group",
  which won't work with words consisting of up to 4 characters
  between 'a' and 'f' and digits.

From: Roman Hoog Antink <rha@open.ch>
[full delete instead of #if 0]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/command.c