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