]> git.puffer.fish Git - mirror/frr.git/commit
zebra: add connected_check_ptp infrastructure
authorDavid Lamparter <equinox@diac24.net>
Sat, 30 Jan 2010 11:10:23 +0000 (12:10 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sun, 27 Aug 2017 21:31:02 +0000 (23:31 +0200)
commitabffde07a3f89f77dc45b7660323e41c39d4113c
tree45d91bff33e1909353eb48bdd1c47b3918c30e9b
parent3df31ebb0328b4b84fa11d5fbd956dcc30c44dfe
zebra: add connected_check_ptp infrastructure

add a connected_check_ptp function which does the same as
connected_check, but takes an additional peer prefix argument.

also fix related prefixlen mixup in PtP addresses (the local part of a
PtP address always is /32, but previously the peer mask got copied.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
zebra/connected.c
zebra/connected.h
zebra/interface.c