summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/processor/pitStandard.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/hicn/processor/pitStandard.c')
-rw-r--r--hicn-light/src/hicn/processor/pitStandard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hicn-light/src/hicn/processor/pitStandard.c b/hicn-light/src/hicn/processor/pitStandard.c
index 9a3a829bd..edf0b5e98 100644
--- a/hicn-light/src/hicn/processor/pitStandard.c
+++ b/hicn-light/src/hicn/processor/pitStandard.c
@@ -160,7 +160,11 @@ static PITVerdict _pitStandard_ReceiveInterest(PIT *generic,
(void *)interestMessage, pitEntry_GetExpiryTime(pitEntry));
}
+#ifdef WITH_POLICY
+ return PITVerdict_Retransmit;
+#else
return PITVerdict_Forward;
+#endif /* WITH_POLICY */
}
// It is in the PIT but this is the first interest for the reverse path