mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Report only new new events when initially attaching to the controller.
This commit is contained in:
parent
b6f7c57ecf
commit
2e80ca8a68
1 changed files with 4 additions and 1 deletions
|
|
@ -2908,7 +2908,10 @@ ciss_notify_event(struct ciss_softc *sc)
|
|||
cnc->synchronous = 0;
|
||||
cnc->ordered = 0;
|
||||
cnc->seek_to_oldest = 0;
|
||||
cnc->new_only = 0;
|
||||
if ((sc->ciss_flags & CISS_FLAG_RUNNING) == 0)
|
||||
cnc->new_only = 1;
|
||||
else
|
||||
cnc->new_only = 0;
|
||||
cnc->length = htonl(CISS_NOTIFY_DATA_SIZE);
|
||||
|
||||
/* submit the request */
|
||||
|
|
|
|||
Loading…
Reference in a new issue