diff options
Diffstat (limited to 'daemons/gptp/linux/src/daemon_cl.cpp')
-rw-r--r-- | daemons/gptp/linux/src/daemon_cl.cpp | 6 |
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 41d7ae4b..0f664bb3 100644 --- a/daemons/gptp/linux/src/daemon_cl.cpp +++ b/daemons/gptp/linux/src/daemon_cl.cpp @@ -320,6 +320,7 @@ int main(int argc, char **argv) fprintf(stdout, "phy_delay_mb_rx: %d\n", iniParser.getPhyDelayMbRx()); fprintf(stdout, "neighborPropDelayThresh: %ld\n", iniParser.getNeighborPropDelayThresh()); fprintf(stdout, "syncReceiptThreshold: %d\n", iniParser.getSyncReceiptThresh()); + fprintf(stdout, "seqIdAsCapableThresh: %d\n", iniParser.getSeqIdAsCapableThresh()); /* If using config file, set the neighborPropDelayThresh. * Otherwise it will use its default value (800ns) */ @@ -330,6 +331,11 @@ int main(int argc, char **argv) */ port->setSyncReceiptThresh(iniParser.getSyncReceiptThresh()); + /* If using config file, set the seqIdAsCapableThresh, otherwise + * it will use the default value (SEQID_ASCAPABLE_THRESHOLD) + */ + port->setSeqIdAsCapableThresh(iniParser.getSeqIdAsCapableThresh()); + /*Only overwrites phy_delay default values if not input_delay switch enabled*/ if(!input_delay) { |