diff options
| author | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-07-12 15:09:25 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-07-12 15:09:25 -0400 |
| commit | 9867746afefbead8d36cda32a0453f51e4f34362 (patch) | |
| tree | e2fc9f6fa9989d899c9d4759a564a6b23c03abf5 /pimd/pim_static.h | |
| parent | 5b1207f72c67b65a60959945bb4250409bb8460f (diff) | |
pimd: Refactor 'struct static_route' to use channel_oil
The 'struct static_route' data structure duplicated a
decent bit of what is the in the struct channel_oil.
Refactor. This will set us up for further cleanup.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_static.h')
| -rw-r--r-- | pimd/pim_static.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pimd/pim_static.h b/pimd/pim_static.h index b3be09e913..ff89fb150e 100644 --- a/pimd/pim_static.h +++ b/pimd/pim_static.h @@ -32,11 +32,9 @@ struct static_route { struct in_addr group; struct in_addr source; + struct channel_oil c_oil; unsigned int iif; unsigned char oif_ttls[MAXVIFS]; - int oif_count; - struct mfcctl mc; - time_t creation[MAXVIFS]; }; void pim_static_route_free(struct static_route *s_route); |
