summaryrefslogtreecommitdiff
path: root/L4Code.c
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-12-08 12:30:40 +0000
committerDave Hibberd <d@vehibberd.com>2023-12-08 12:30:40 +0000
commit3c4fd182da16ee23321c35fa7ea3b9fecd13cb4e (patch)
tree443342a056f361262478f1a93f8adccaf6d52598 /L4Code.c
parent63e373575e2d9affd3604bab5a9c524cd81ab0d8 (diff)
parent397da35dac26c162055adf2f0d3bc6c4567d1e0c (diff)
Merge branch 'debian/latest' into debian/bookworm
Diffstat (limited to 'L4Code.c')
-rw-r--r--L4Code.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/L4Code.c b/L4Code.c
index 424522d..483746e 100644
--- a/L4Code.c
+++ b/L4Code.c
@@ -115,7 +115,7 @@ VOID NETROMMSG(struct _LINKTABLE * LINK, L3MESSAGEBUFFER * L3MSG)
{
// INP3
- ProcessINP3RIF(LINK->NEIGHBOUR, &L3MSG->L3SRCE[1], L3MSG->LENGTH - 9, L3MSG->Port);
+ ProcessINP3RIF(LINK->NEIGHBOUR, &L3MSG->L3SRCE[1], L3MSG->LENGTH - (MSGHDDRLEN + 2), L3MSG->Port); // = 2 = PID + FF Flag
ReleaseBuffer(L3MSG);
return;
}