diff options
Diffstat (limited to 'L2Code.c')
| -rw-r--r-- | L2Code.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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);
}
|
