]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Treat v6 address as a v6 address
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 Feb 2017 00:52:54 +0000 (19:52 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 Feb 2017 00:52:54 +0000 (19:52 -0500)
commit0527bd80c9248afa5bbd4406faac46bbcd170eec
tree6bb376d2b8024b5437bc48d2f01a9401da070484
parent9010012aa140c0301d1ae1121a0f4d16b22dcb0b
lib: Treat v6 address as a v6 address

The code was making the correct assumption
that the v4 and v6 addresses start in the
same spot in memory and since we were looking
at a v6 prefix it would just work.  This
causes distress in SA systems, so let's just
make it happy.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/if.c