summaryrefslogtreecommitdiff
path: root/nodeapi.c
diff options
context:
space:
mode:
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;