diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-05-13 07:23:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-13 07:23:42 -0400 |
| commit | e524fc1e2ccf242bf68b11f43fd23fa2e725fdb7 (patch) | |
| tree | 0e35ed84e717dac6bc7fc78c044693dff7987e02 /lib | |
| parent | 04b122335b1c2964c6363c81dba10aa2986ae12e (diff) | |
| parent | e3d901f8638dec32eac4c2690912138963ae5a05 (diff) | |
Merge pull request #8659 from mjstapp/fix_connected_multi
lib,zebra: Use a flag to track down status for connected addrs
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/if.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -393,6 +393,7 @@ struct connected { #define ZEBRA_IFC_REAL (1 << 0) #define ZEBRA_IFC_CONFIGURED (1 << 1) #define ZEBRA_IFC_QUEUED (1 << 2) +#define ZEBRA_IFC_DOWN (1 << 3) /* The ZEBRA_IFC_REAL flag should be set if and only if this address exists in the kernel and is actually usable. (A case where it exists @@ -406,6 +407,8 @@ struct connected { in the kernel. It may and should be set although the address might not be usable yet. (compare with ZEBRA_IFC_REAL) + The ZEBRA_IFC_DOWN flag is used to record that an address is + present, but down/unavailable. */ /* Flags for connected address. */ |
