aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fig/FIG0_14.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fig/FIG0_14.cpp b/src/fig/FIG0_14.cpp
index 0f796e5..2fc484c 100644
--- a/src/fig/FIG0_14.cpp
+++ b/src/fig/FIG0_14.cpp
@@ -87,10 +87,10 @@ FillStatus FIG0_14::fill(uint8_t *buf, size_t max_size)
}
fig0 = (FIGtype0*)buf;
fig0->FIGtypeNumber = 0;
- fig0->Length = 1;
+ fig0->Length = required_size;
fig0->CN = 0;
fig0->OE = 0;
- fig0->PD = 1;
+ fig0->PD = 1; // Only ever applicable to data services
fig0->Extension = 14;
buf += 2;
remaining -= 2;