-/* Copyright (c) 2014-2017. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2014-2018. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include "src/kernel/routing/TorusZone.hpp"
-#include "src/kernel/routing/NetPoint.hpp"
+#include "simgrid/kernel/routing/TorusZone.hpp"
+#include "simgrid/kernel/routing/NetPoint.hpp"
#include "src/surf/network_interface.hpp"
+#include "src/surf/xml/platf_private.hpp"
+
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <string>
sg_platf_new_link(&link);
surf::LinkImpl* linkUp;
surf::LinkImpl* linkDown;
- if (link.policy == SURF_LINK_FULLDUPLEX) {
+ if (link.policy == SURF_LINK_SPLITDUPLEX) {
std::string tmp_link = link_id + "_UP";
linkUp = surf::LinkImpl::byName(tmp_link);
tmp_link = link_id + "_DOWN";