Signed-off-by: Anders Selhammer <[email protected]>
---
bmc.c | 2 +-
bmc.h | 2 +-
clock.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bmc.c b/bmc.c
index 605183e..fd80f99 100644
--- a/bmc.c
+++ b/bmc.c
@@ -80,7 +80,7 @@ int dscmp2(struct dataset *a, struct dataset *b)
return 0;
}
-int dscmp(struct dataset *a, struct dataset *b)
+int dscmp_ieee1588(struct dataset *a, struct dataset *b)
{
int diff;
diff --git a/bmc.h b/bmc.h
index b34818b..d09a605 100644
--- a/bmc.h
+++ b/bmc.h
@@ -51,7 +51,7 @@ enum port_state bmc_state_decision(struct clock *c, struct
port *r,
* if the dataset @a a is found, respectively, to be
* less than, to match, or be greater than @a b.
*/
-int dscmp(struct dataset *a, struct dataset *b);
+int dscmp_ieee1588(struct dataset *a, struct dataset *b);
/**
* Second part of the data set comparison algorithm, not for general
diff --git a/clock.c b/clock.c
index 10c601d..2369247 100644
--- a/clock.c
+++ b/clock.c
@@ -1062,7 +1062,7 @@ struct clock *clock_create(enum clock_type type, struct
config *config,
}
c->servo_state = SERVO_UNLOCKED;
c->servo_type = servo;
- c->dscmp = dscmp;
+ c->dscmp = dscmp_ieee1588;
c->tsproc = tsproc_create(config_get_int(config, NULL, "tsproc_mode"),
config_get_int(config, NULL, "delay_filter"),
config_get_int(config, NULL,
"delay_filter_length"));
--
1.8.3.1
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel