]> git.puffer.fish Git - mirror/frr.git/commit
lib,zebra: Use a flag to track down status for connected addrs 8659/head
authorMark Stapp <mjs@voltanet.io>
Tue, 11 May 2021 19:57:39 +0000 (15:57 -0400)
committerMark Stapp <mjs@voltanet.io>
Wed, 12 May 2021 13:37:00 +0000 (09:37 -0400)
commite3d901f8638dec32eac4c2690912138963ae5a05
tree8b61690f526d085040cc5bd8e1ea98a5ec9f8683
parent449e54fd12372273dcac68781eb77c1297aeb2ba
lib,zebra: Use a flag to track down status for connected addrs

Track 'down' state of connected addresses with a new flag. We
may have multiple addresses on an interface that share a prefix;
in those cases, we need to determine when the first address
is valid, to install a connected route, and similarly detect
when the last address goes 'down', to remove the connected
route.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
lib/if.h
zebra/connected.c