summaryrefslogtreecommitdiff
path: root/Moncode.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-10-11 15:37:11 +0100
committerDave Hibberd <hibby@debian.org>2024-10-11 15:37:11 +0100
commiteb0d36d3f67be13de74023adb6d30362d47805fe (patch)
treeccf33618ee66710ce3b3a84108d125e15e07b8dc /Moncode.c
parent6dfe32758e1a995b1241af8c981798c22cd70439 (diff)
New upstream version 6.0.24.45upstream/6.0.24.45
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