summaryrefslogtreecommitdiff
path: root/Moncode.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-10-11 15:37:17 +0100
committerDave Hibberd <hibby@debian.org>2024-10-11 15:37:17 +0100
commit3de6b0150f1b06256a0ee3ce9a8ba529a5d306e8 (patch)
treed0b2a2d45786fab97f1c7945cd1e51ed27f3ac27 /Moncode.c
parent0d48067b828c78732fdf51981f254016933d4091 (diff)
parenteb0d36d3f67be13de74023adb6d30362d47805fe (diff)
Update upstream source from tag 'upstream/6.0.24.45'debian/latest
Update to upstream version '6.0.24.45' with Debian dir 9a5822f2bbe8cf432a687b5d3299570a9d25824d
Diffstat (limited to 'Moncode.c')
-rw-r--r--Moncode.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/Moncode.c b/Moncode.c
index 6463b14..d807e21 100644
--- a/Moncode.c
+++ b/Moncode.c
@@ -210,7 +210,12 @@ KC6OAR*>ID:
Port &= 0x7F;
if ((((uint64_t)1 << (Port - 1)) & Mask) == 0) // Check MMASK
+ {
+ if (msg->Padding[0] == '[')
+ msg->Padding[0] = 0;
+
return 0;
+ }
// We now pass Text format monitoring from non-ax25 drivers through this code
@@ -535,6 +540,12 @@ KC6OAR*>ID:
}
}
}
+
+ if (msg->Padding[0] == '[')
+ Output += sprintf((char *)Output, " %s", msg->Padding);
+
+ msg->Padding[0] = 0;
+
if (Info)
{
// We have an info frame