summaryrefslogtreecommitdiff
path: root/daemons/gptp/linux/src/daemon_cl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'daemons/gptp/linux/src/daemon_cl.cpp')
-rw-r--r--daemons/gptp/linux/src/daemon_cl.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/daemons/gptp/linux/src/daemon_cl.cpp b/daemons/gptp/linux/src/daemon_cl.cpp
index 0f664bb3..6c9ee9ba 100644
--- a/daemons/gptp/linux/src/daemon_cl.cpp
+++ b/daemons/gptp/linux/src/daemon_cl.cpp
@@ -321,6 +321,7 @@ int main(int argc, char **argv)
fprintf(stdout, "neighborPropDelayThresh: %ld\n", iniParser.getNeighborPropDelayThresh());
fprintf(stdout, "syncReceiptThreshold: %d\n", iniParser.getSyncReceiptThresh());
fprintf(stdout, "seqIdAsCapableThresh: %d\n", iniParser.getSeqIdAsCapableThresh());
+ fprintf(stdout, "lostPdelayRespThresh %d\n", iniParser.getLostPdelayRespThresh());
/* If using config file, set the neighborPropDelayThresh.
* Otherwise it will use its default value (800ns) */
@@ -336,6 +337,11 @@ int main(int argc, char **argv)
*/
port->setSeqIdAsCapableThresh(iniParser.getSeqIdAsCapableThresh());
+ /* If using config file, set the lostPdelayRespThresh, otherwise
+ * it will use the default value (LOSTPDELAY_RESP_THRESH)
+ */
+ port->setLostPdelayRespThresh(iniParser.getLostPdelayRespThresh());
+
/*Only overwrites phy_delay default values if not input_delay switch enabled*/
if(!input_delay)
{