diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-07 16:16:23 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-04-20 21:55:50 +0200 |
commit | df94f9a91dbff3e0b04928d564484dfc4bf55aed (patch) | |
tree | 1cee9cc829182d1dd28342c5a5ef25390e674eac /pimd/pimd.h | |
parent | Merge pull request #379 from pguibert6WIND/frrouting_issue309_2 (diff) | |
download | frr-df94f9a91dbff3e0b04928d564484dfc4bf55aed.tar.xz frr-df94f9a91dbff3e0b04928d564484dfc4bf55aed.zip |
pimd: Add prefix list handling to spt-switchover
To the 'ip pim spt-switchover infinity-and-beyond' command
add 'prefix-list <PLIST>'. To the command.
Use this as the basis to deny (Not immediate switchover)
or permit (Immediate switchover), based upon matching
the group address and the prefix-list.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pimd.h')
-rw-r--r-- | pimd/pimd.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pimd/pimd.h b/pimd/pimd.h index 6c3dcfafc..246be17d4 100644 --- a/pimd/pimd.h +++ b/pimd/pimd.h @@ -248,7 +248,10 @@ struct pim_instance afi_t afi; vrf_id_t vrf_id; - enum pim_spt_switchover spt_switchover; + struct { + enum pim_spt_switchover switchover; + char *plist; + } spt; struct hash *rpf_hash; void *ssm_info; /* per-vrf SSM configuration */ |