Discussion:
[Linuxptp-devel] [PATCH 1/6] set length of ptp text defaults
Geoff Salmon
2013-02-09 14:58:11 UTC
Permalink
Signed-off-by: Geoff Salmon <***@se-instruments.com>
---
ptp4l.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ptp4l.c b/ptp4l.c
index fc6d0df..32b69d0 100644
--- a/ptp4l.c
+++ b/ptp4l.c
@@ -56,11 +56,13 @@ static struct config cfg_settings = {
.clock_desc = {
.productDescription = {
.max_symbols = 64,
- .text = ";;"
+ .text = ";;",
+ .length = 2,
},
.revisionData = {
.max_symbols = 32,
- .text = ";;"
+ .text = ";;",
+ .length = 2,
},
.userDescription = { .max_symbols = 128 },
.manufacturerIdentity = { 0, 0, 0 },
--
1.7.9.5
Geoff Salmon
2013-02-09 15:11:57 UTC
Permalink
Ignore the "1/6" in the subject. That's a mistake. This is meant to be a
lone patch. "1/1" if you will.

- Geoff
Post by Geoff Salmon
---
ptp4l.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ptp4l.c b/ptp4l.c
index fc6d0df..32b69d0 100644
--- a/ptp4l.c
+++ b/ptp4l.c
@@ -56,11 +56,13 @@ static struct config cfg_settings = {
.clock_desc = {
.productDescription = {
.max_symbols = 64,
- .text = ";;"
+ .text = ";;",
+ .length = 2,
},
.revisionData = {
.max_symbols = 32,
- .text = ";;"
+ .text = ";;",
+ .length = 2,
},
.userDescription = { .max_symbols = 128 },
.manufacturerIdentity = { 0, 0, 0 },
Richard Cochran
2013-02-10 19:11:32 UTC
Permalink
Post by Geoff Salmon
---
ptp4l.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Applied.

Thanks,
Richard

Loading...