A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't load a private header from s4u/NetZone.hpp
[simgrid.git]
/
src
/
surf
/
sg_platf.cpp
diff --git
a/src/surf/sg_platf.cpp
b/src/surf/sg_platf.cpp
index
81a15d0
..
3b968a4
100644
(file)
--- a/
src/surf/sg_platf.cpp
+++ b/
src/surf/sg_platf.cpp
@@
-406,12
+406,14
@@
void sg_platf_new_mount(MountCreationArgs* mount)
void sg_platf_new_route(sg_platf_route_cbarg_t route)
{
void sg_platf_new_route(sg_platf_route_cbarg_t route)
{
- routing_get_current()->addRoute(route);
+ routing_get_current()->addRoute(route->src, route->dst, route->gw_src, route->gw_dst, route->link_list,
+ route->symmetrical);
}
void sg_platf_new_bypassRoute(sg_platf_route_cbarg_t bypassRoute)
{
}
void sg_platf_new_bypassRoute(sg_platf_route_cbarg_t bypassRoute)
{
- routing_get_current()->addBypassRoute(bypassRoute);
+ routing_get_current()->addBypassRoute(bypassRoute->src, bypassRoute->dst, bypassRoute->gw_src, bypassRoute->gw_dst,
+ bypassRoute->link_list, bypassRoute->symmetrical);
}
void sg_platf_new_process(sg_platf_process_cbarg_t process)
}
void sg_platf_new_process(sg_platf_process_cbarg_t process)