summaryrefslogtreecommitdiff
path: root/nodeapi.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-03-08 02:27:14 +0000
committerDave Hibberd <hibby@debian.org>2026-03-08 02:27:14 +0000
commit7aa6cec9300c8a3e9ef98b19791ad324d487512e (patch)
tree18c0487da11274dc1c4b67787ef12b1cefa15ae8 /nodeapi.c
parentdae2bbc7215a8361e7b9092e6c307491c7e5722a (diff)
New upstream version 6.0.25.33+repackupstream/6.0.25.33+repack
Diffstat (limited to 'nodeapi.c')
-rw-r--r--nodeapi.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/nodeapi.c b/nodeapi.c
index ca0ad14..148728b 100644
--- a/nodeapi.c
+++ b/nodeapi.c
@@ -943,10 +943,14 @@ int sendPortQState(char * response, char * token, char * param, int Local)
}
else if (Sess1->L4CIRCUITTYPE & PACTOR)
{
- // PACTOR Type - Frames are queued on the Port Entry
+ // PACTOR Type
struct PORTCONTROL * PORT = Sess1->L4TARGET.PORT;
- strcpy(Type, "HFLINK");
+
+ if (PORT && PORT->Hardware == H_TELNET)
+ strcpy(Type, "TELNET");
+ else
+ strcpy(Type, "HFLINK");
if (PORT)
radioport = PORT->PORTNUMBER;