diff options
| author | John Wiseman <john.wiseman@cantab.net> | 2023-07-29 07:23:11 +0100 |
|---|---|---|
| committer | John Wiseman <john.wiseman@cantab.net> | 2023-07-29 07:23:11 +0100 |
| commit | b77dbd8ce169fc6e575b3f471150b14832e6e991 (patch) | |
| tree | 80ccc19fcc05db23d0a73938c14647ba629822af /cMain.c | |
| parent | ed81fc5267a230d12a2519e61707025087ec6234 (diff) | |
6.0.23.8123.82
Diffstat (limited to 'cMain.c')
| -rw-r--r-- | cMain.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2220,8 +2220,17 @@ L2Packet: memcpy(BBuffer, Message, Message->LENGTH);
BBuffer->PORT = toPort;
BPORT = GetPortTableEntryFromPortNum(toPort);
+
if (BPORT)
+ {
+ if (BPORT->SmartIDInterval && BPORT->SmartIDNeeded == 0)
+ {
+ // Using Smart ID, but none scheduled
+
+ BPORT->SmartIDNeeded = time(NULL) + BPORT->SmartIDInterval;
+ }
PUT_ON_PORT_Q(BPORT, BBuffer);
+ }
else
ReleaseBuffer(BBuffer);
}
|
