diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-09-14 13:18:37 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-09-19 19:03:50 +0200 |
commit | 5f57d30ba47bb8d954a60ba10c0ce8efd539f9c6 (patch) | |
tree | 9b085f44775dd772b794c6713897e37130a2037f /pimd/pim_static.c | |
parent | Merge pull request #14299 from SaiGomathiN/14286 (diff) | |
download | frr-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.c | 2 |
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(); |