Fix a harmless error in order of ng_timeout() arguments.
Approved by: julian (mentor)
This commit is contained in:
parent
e91c64ab6b
commit
d312eaf5ca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137136
@ -627,8 +627,8 @@ ng_source_intr(node_p node, hook_p hook, void *arg1, int arg2)
|
||||
if (sc->packets == 0)
|
||||
ng_source_stop(sc);
|
||||
else
|
||||
sc->intr_ch = ng_timeout(node, NULL, 0,
|
||||
ng_source_intr, sc, NG_SOURCE_INTR_TICKS);
|
||||
sc->intr_ch = ng_timeout(node, NULL, NG_SOURCE_INTR_TICKS,
|
||||
ng_source_intr, sc, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user