Pass up errors returned by dummynet. The same should be done with

divert.
This commit is contained in:
Luigi Rizzo 2001-01-25 02:06:38 +00:00
parent d42df83312
commit 7a726a2dd1

View File

@ -494,9 +494,9 @@ ip_output(m0, opt, ro, flags, imo)
* 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