The slaveOnly and masterOnly options will be deprecated in favor of clientOnly and serverOnly, respectively. However, existing user scripts may very well make use of these options. Apply the deprecated option check to the long command line options in order to avoid breaking existing deployments in the near future.
Signed-off-by: Richard Cochran <richardcoch...@gmail.com> --- config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.c b/config.c index d237de9..a09739d 100644 --- a/config.c +++ b/config.c @@ -1036,6 +1036,8 @@ int config_parse_option(struct config *cfg, const char *opt, const char *val) { enum parser_result result; + check_deprecated_options(&opt); + result = parse_item(cfg, 1, NULL, opt, val); switch (result) { -- 2.20.1 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel