summaryrefslogtreecommitdiff
path: root/L4Code.c
diff options
context:
space:
mode:
Diffstat (limited to 'L4Code.c')
-rw-r--r--L4Code.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/L4Code.c b/L4Code.c
index 21db8a7..20430dd 100644
--- a/L4Code.c
+++ b/L4Code.c
@@ -1295,11 +1295,20 @@ VOID CONNECTREQUEST(struct _LINKTABLE * LINK, L3MESSAGEBUFFER * L3MSG, UINT Appl
char BPQPARAMS[10]; // Extended Connect Params from BPQ Node
int CONERROR;
int Index;
+ char xxx[16] = "";
memcpy(BPQPARAMS, &L4T1, 2); // SET DEFAULT T1 IN CASE NOT FROM ANOTHER BPQ NODE
- BPQPARAMS[2] = 0; // 'SPY' NOT SET
-
+ BPQPARAMS[2] = 0; // 'SPY' NOT SET
+
+ ConvFromAX25(&L3MSG->L4DATA[1], xxx);
+
+ if (CheckExcludeList(&L3MSG->L4DATA[1]) == 0)
+ {
+ SendConNAK(LINK, L3MSG);
+ return;
+ }
+
if (FINDCIRCUIT(L3MSG, &L4, &Index))
{
// SESSION EXISTS - ASSUME RETRY AND SEND ACK