diff --git a/phc2sys.c b/phc2sys.c
index 5c54055..8f740c4 100644
--- a/phc2sys.c
+++ b/phc2sys.c
@@ -1317,6 +1317,7 @@ int main(int argc, char *argv[])
        struct config *cfg;
        int autocfg = 0, rt = 0;
        int c, domain_number = 0, pps_fd = -1;
+       int transport_specific = 0;
        int r = -1, wait_sync = 0;
        int print_level = LOG_INFO, use_syslog = 1, verbose = 0;
        int ntpshm_segment;
@@ -1343,7 +1344,7 @@ int main(int argc, char *argv[])
        progname = strrchr(argv[0], '/');
        progname = progname ? 1+progname : argv[0];
        while (EOF != (c = getopt(argc, argv,
- "arc:d:s:E:P:I:S:F:R:N:O:L:M:i:u:wn:xz:l:t:mqvh"))) { + "arc:d:s:E:P:I:S:F:R:N:O:L:M:i:u:wn:xz:l:t:mqvhT:"))) {
                switch (c) {
                case 'a':
                        autocfg = 1;
@@ -1472,6 +1473,10 @@ int main(int argc, char *argv[])
                        usage(progname);
                        config_destroy(cfg);
                        return 0;
+               case 'T':
+                       if (1 == sscanf(optarg, "%x", &c))
+                               transport_specific = c << 4;
+                       break;
                default:
                        goto bad_usage;
                }


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to