Commit e6195bbf authored by Dave Taht's avatar Dave Taht Committed by Juliusz Chroboczek

Allow compilation on OSX

parent dedc3b89
...@@ -456,11 +456,11 @@ kernel_route(int operation, int table, ...@@ -456,11 +456,11 @@ kernel_route(int operation, int table,
/* Avoid atomic route changes that is buggy on OS X. */ /* Avoid atomic route changes that is buggy on OS X. */
kernel_route(ROUTE_FLUSH, table, dest, plen, kernel_route(ROUTE_FLUSH, table, dest, plen,
src, src_plen, src, src_plen, NULL,
gate, ifindex, metric, gate, ifindex, metric,
NULL, 0, 0, 0); NULL, 0, 0, 0);
return kernel_route(ROUTE_ADD, table, dest, plen, return kernel_route(ROUTE_ADD, table, dest, plen,
src, src_plen, src, src_plen, NULL,
newgate, newifindex, newmetric, newgate, newifindex, newmetric,
NULL, 0, 0, 0); NULL, 0, 0, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment