summaryrefslogtreecommitdiff
path: root/pimd/pim_nht.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-08 13:50:48 -0400
committerGitHub <noreply@github.com>2018-06-08 13:50:48 -0400
commitc0efc5989f1582158051a9dedea78afa27d3b09f (patch)
treef37cf8e3954e5cf6858fd8ad0f2eb18d9b12fdc4 /pimd/pim_nht.c
parent9eafc8abd74a4d8144c764e0361dbb2a51da91c9 (diff)
parent56c1568b3d78e6e15c8fa230c6ed0e29419e2341 (diff)
Merge pull request #2386 from gromit1811/pim-connected-nexthop-fix2
pimd: Fix connected route nexthop fix from 66f5152f
Diffstat (limited to 'pimd/pim_nht.c')
-rw-r--r--pimd/pim_nht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c
index 3cbd11a9ae..fa6486a83e 100644
--- a/pimd/pim_nht.c
+++ b/pimd/pim_nht.c
@@ -667,7 +667,7 @@ int pim_parse_nexthop_update(int command, struct zclient *zclient,
* RPF address from nexthop cache (i.e.
* destination) as PIM nexthop.
*/
- nexthop->type = NEXTHOP_TYPE_IPV4;
+ nexthop->type = NEXTHOP_TYPE_IPV4_IFINDEX;
nexthop->gate.ipv4 =
pnc->rpf.rpf_addr.u.prefix4;
break;