Commit 5dd8ccf3 authored by Jean-Claude BAU's avatar Jean-Claude BAU Committed by Adam Wujek

PPSi argument 'g' suppressed

This arguement was used to set all ports to slave role. As it may be on
conflict with the ppsi configuration, this parameter has been
suppressed.
parent 11b27841
......@@ -53,7 +53,6 @@ static void cmd_line_print_help(void)
int pp_parse_cmdline(struct pp_globals *ppg, int argc, char **argv)
{
int i, err = 0;
int j;
char *a; /* cmd line argument */
for (i = 1; i < argc; i++) {
......@@ -90,13 +89,6 @@ int pp_parse_cmdline(struct pp_globals *ppg, int argc, char **argv)
a = argv[++i];
GOPTS(ppg)->s = atoi(a);
break;
case 'g':
GOPTS(ppg)->clock_quality.clockClass
= PP_CLASS_SLAVE_ONLY;
/* Apply -g option globally, to each configured link */
for (j = 0; j < ppg->nlinks; j++)
INST(ppg, j)->role = PPSI_ROLE_SLAVE;
break;
case 'h':
/* ignored: was "GOPTS(ppg)->e2e_mode = 1;" */
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment