diff options
| author | g8bpq <john.wiseman@cantab.net> | 2023-02-05 11:01:05 +0000 |
|---|---|---|
| committer | g8bpq <john.wiseman@cantab.net> | 2023-02-05 11:01:05 +0000 |
| commit | c32ef4ee1e742d14161b348d62f2c674a1a289e6 (patch) | |
| tree | 2b8c9ec4840b5965a3a6d70614d5d4ea21967ff1 /L2Code.c | |
| parent | c15de2c7f7e70c97a89b591b3ece72c5047ab4fa (diff) | |
6.0.23.4623.51
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);
}
|
