Commit d1da9620 authored by Lionel Gauthier's avatar Lionel Gauthier

for remote EPC/eNB

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7426 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent e3db80b0
...@@ -495,6 +495,14 @@ int spgw_config_init(char* lib_config_file_name_pP, spgw_config_t* config_pP) ...@@ -495,6 +495,14 @@ int spgw_config_init(char* lib_config_file_name_pP, spgw_config_t* config_pP)
} else { } else {
SPGW_APP_ERROR("Save mark\n"); SPGW_APP_ERROR("Save mark\n");
} }
if (snprintf(system_cmd, 256,
"ip route add %s/%s dev %s",
astring, atoken2, config_pP->sgw_config.ipv4.sgw_interface_name_for_S1u_S12_S4_up) > 0) {
spgw_system(system_cmd, SPGW_WARN_ON_ERROR, __FILE__, __LINE__);
} else {
SPGW_APP_ERROR("Route for UEs\n");
}
#endif #endif
if ((prefix_mask >= 2)&&(prefix_mask < 32)) { if ((prefix_mask >= 2)&&(prefix_mask < 32)) {
......
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