From c32ef4ee1e742d14161b348d62f2c674a1a289e6 Mon Sep 17 00:00:00 2001 From: g8bpq Date: Sun, 5 Feb 2023 11:01:05 +0000 Subject: 6.0.23.46 --- L2Code.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'L2Code.c') 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); } -- cgit v1.2.3