diff options
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);
}
|
