summaryrefslogtreecommitdiffstats
path: root/pimd/pim_static.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetwroks.com>2016-07-12 21:09:25 +0200
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-07-12 21:09:25 +0200
commit9867746afefbead8d36cda32a0453f51e4f34362 (patch)
treee2fc9f6fa9989d899c9d4759a564a6b23c03abf5 /pimd/pim_static.h
parentpimd: Stale IGMP groups left behind (diff)
downloadfrr-9867746afefbead8d36cda32a0453f51e4f34362.tar.xz
frr-9867746afefbead8d36cda32a0453f51e4f34362.zip
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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/pimd/pim_static.h b/pimd/pim_static.h
index b3be09e91..ff89fb150 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);