summaryrefslogtreecommitdiff
path: root/pimd/pim_static.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-01-25 12:05:33 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-25 12:07:02 -0500
commit9981117a40d743bea26c7a3936f7613d618f7860 (patch)
tree4ef641b068a01f75147adcc86050ef6259559dae /pimd/pim_static.c
parent04b6c83d56688355d7998ae24d101d8ccab4e98f (diff)
pimd: Convert to using an ifindex_t for the vif
Let's stay consistent in the data type for the vif index Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_static.c')
-rw-r--r--pimd/pim_static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_static.c b/pimd/pim_static.c
index f7f6ea17c1..442b22e06f 100644
--- a/pimd/pim_static.c
+++ b/pimd/pim_static.c
@@ -42,7 +42,7 @@ static struct static_route *static_route_alloc(void)
return XCALLOC(MTYPE_PIM_STATIC_ROUTE, sizeof(struct static_route));
}
-static struct static_route *static_route_new(unsigned int iif, unsigned int oif,
+static struct static_route *static_route_new(ifindex_t iif, ifindex_t oif,
struct in_addr group,
struct in_addr source)
{