mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
Pass up errors returned by dummynet. The same should be done with
divert.
This commit is contained in:
parent
d42df83312
commit
7a726a2dd1
1 changed files with 3 additions and 3 deletions
|
|
@ -494,9 +494,9 @@ sendit:
|
|||
* XXX note: if the ifp or ro entry are deleted
|
||||
* while a pkt is in dummynet, we are in trouble!
|
||||
*/
|
||||
dummynet_io(off & 0xffff, DN_TO_IP_OUT, m,ifp,ro,dst,rule,
|
||||
flags);
|
||||
goto done;
|
||||
error = dummynet_io(off & 0xffff, DN_TO_IP_OUT, m,
|
||||
ifp, ro, dst, rule, flags);
|
||||
goto done;
|
||||
}
|
||||
#endif
|
||||
#ifdef IPDIVERT
|
||||
|
|
|
|||
Loading…
Reference in a new issue