mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Initialize Netgraph type at a correct time, before device probing.
This commit is contained in:
parent
7b6fe3a4c2
commit
20710e9f5f
2 changed files with 2 additions and 2 deletions
|
|
@ -234,7 +234,7 @@ static struct ng_type typestruct = {
|
|||
.rcvdata = ngar_rcvdata,
|
||||
.disconnect = ngar_disconnect,
|
||||
};
|
||||
NETGRAPH_INIT_ORDERED(sync_ar, &typestruct, SI_SUB_DRIVERS, SI_ORDER_ANY);
|
||||
NETGRAPH_INIT_ORDERED(sync_ar, &typestruct, SI_SUB_DRIVERS, SI_ORDER_FIRST);
|
||||
#endif /* NETGRAPH */
|
||||
|
||||
int
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ static struct ng_type typestruct = {
|
|||
.rcvdata = ngsr_rcvdata,
|
||||
.disconnect = ngsr_disconnect,
|
||||
};
|
||||
NETGRAPH_INIT_ORDERED(sync_sr, &typestruct, SI_SUB_DRIVERS, SI_ORDER_ANY);
|
||||
NETGRAPH_INIT_ORDERED(sync_sr, &typestruct, SI_SUB_DRIVERS, SI_ORDER_FIRST);
|
||||
#endif /* NETGRAPH */
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue