summaryrefslogtreecommitdiffstats
path: root/pimd/pim_static.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-09-14 13:18:37 +0200
committerDonald Sharp <sharpd@nvidia.com>2023-09-19 19:03:50 +0200
commit5f57d30ba47bb8d954a60ba10c0ce8efd539f9c6 (patch)
tree9b085f44775dd772b794c6713897e37130a2037f /pimd/pim_static.c
parentMerge pull request #14299 from SaiGomathiN/14286 (diff)
downloadfrr-5f57d30ba47bb8d954a60ba10c0ce8efd539f9c6.tar.xz
frr-5f57d30ba47bb8d954a60ba10c0ce8efd539f9c6.zip
pimd: Use a better name for oil_parent
Use oil_incoming_vif instead of oil_parent. I had to go look this up as that I failed to remember that the linux kernel calls this parent for some bizarre reason. Signed-off-by: Donald Sharp <sharpd@nvidia.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 f4320f0c6..b9effa26d 100644
--- a/pimd/pim_static.c
+++ b/pimd/pim_static.c
@@ -44,7 +44,7 @@ static struct static_route *static_route_new(ifindex_t iif, ifindex_t oif,
s_route->c_oil.oil_ref_count = 1;
*oil_origin(&s_route->c_oil) = source;
*oil_mcastgrp(&s_route->c_oil) = group;
- *oil_parent(&s_route->c_oil) = iif;
+ *oil_incoming_vif(&s_route->c_oil) = iif;
oil_if_set(&s_route->c_oil, oif, 1);
s_route->c_oil.oif_creation[oif] = pim_time_monotonic_sec();