uds: restore delay mechanism to zero value.
The new configuration code inadvertently causes the UDS port to use P2P messaging when P2P is set as a global option. This results in a never ending series of "missing timestamp" error messages from the UDS port as it vainly tries to send peer delay requests. This patch fixes the bug by changing the UDS delay mechanism back to zero as it was before. This is the appropriate setting for the UDS port, because it never leaves the listening state and thus never sends an E2E delay request. Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
d8bfa0fa69
commit
2201345058
4
clock.c
4
clock.c
|
@ -822,6 +822,10 @@ struct clock *clock_create(struct config *config, int phc_index,
|
|||
|
||||
snprintf(udsif->name, sizeof(udsif->name), "%s",
|
||||
config_get_string(config, NULL, "uds_address"));
|
||||
if (config_set_section_int(config, udsif->name,
|
||||
"delay_mechanism", DM_AUTO)) {
|
||||
return NULL;
|
||||
}
|
||||
if (config_set_section_int(config, udsif->name,
|
||||
"network_transport", TRANS_UDS)) {
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue