summaryrefslogtreecommitdiff
path: root/L2Code.c
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2023-02-05 11:01:05 +0000
committerg8bpq <john.wiseman@cantab.net>2023-02-05 11:01:05 +0000
commitc32ef4ee1e742d14161b348d62f2c674a1a289e6 (patch)
tree2b8c9ec4840b5965a3a6d70614d5d4ea21967ff1 /L2Code.c
parentc15de2c7f7e70c97a89b591b3ece72c5047ab4fa (diff)
6.0.23.4623.51
Diffstat (limited to 'L2Code.c')
-rw-r--r--L2Code.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/L2Code.c b/L2Code.c
index 86c01f4..78c58c7 100644
--- a/L2Code.c
+++ b/L2Code.c
@@ -1538,6 +1538,12 @@ VOID L2SENDUA(struct PORTCONTROL * PORT, MESSAGE * Buffer, MESSAGE * ADJBUFFER)
VOID L2SENDDM(struct PORTCONTROL * PORT, MESSAGE * Buffer, MESSAGE * ADJBUFFER)
{
+ if (CheckExcludeList(Buffer->ORIGIN) == 0) // if in exclude, don't send DM
+ {
+ ReleaseBuffer(Buffer); // not sure that this is the right place for releasing?
+ return;
+ }
+
L2SENDRESP(PORT, Buffer, ADJBUFFER, DM);
}