Commit 920c14fa authored by liuyu's avatar liuyu

don't pass smf

parent a393e84e
...@@ -24,7 +24,7 @@ SMF = ...@@ -24,7 +24,7 @@ SMF =
# FQDN = "oai-smf-svc"; # FQDN = "oai-smf-svc";
INSTANCE = 1; # 0 is the default INSTANCE = 1; # 0 is the default
PID_DIRECTORY = "/var/run"; # /var/run is the default PID_DIRECTORY = "/var/run"; # /var/run is the default
LOG_LEVEL = "debug"; LOG_LEVEL = "off";
INTERFACES : INTERFACES :
{ {
......
...@@ -133,8 +133,8 @@ int main(int argc, char** argv) { ...@@ -133,8 +133,8 @@ int main(int argc, char** argv) {
exit(-EDEADLK); exit(-EDEADLK);
} }
udp_server_coop udp_uplink_(inet_ntoa(smf_cfg.sbi.addr4),20001); // udp_server_coop udp_uplink_("127.0.0.21",20001);
udp_server_coop udp_downlink_(inet_ntoa(smf_cfg.n4.addr4),20004); // udp_server_coop udp_downlink_(inet_ntoa(smf_cfg.n4.addr4),20004);
udp_server_coop udp_smf_(inet_ntoa(smf_cfg.n4.addr4),20023); udp_server_coop udp_smf_(inet_ntoa(smf_cfg.n4.addr4),20023);
// SMF Pistache API server (HTTP1) // SMF Pistache API server (HTTP1)
......
...@@ -393,7 +393,7 @@ int udp_server_coop::udp_read_from_socket_from_center() { ...@@ -393,7 +393,7 @@ int udp_server_coop::udp_read_from_socket_from_center() {
// cout<<"content:"<<udp_recv_str<<endl; // cout<<"content:"<<udp_recv_str<<endl;
// handle_receive_udp(bytes_received,udp_recv); // handle_receive_udp(bytes_received,udp_recv);
// printf("smf send udp to satellite amf\n"); // printf("smf send udp to satellite amf\n");
UdpSend(udp_recv,bytes_received,"127.0.0.100",20002); UdpSend(udp_recv,bytes_received,"127.0.0.22",20002);
// assoc_id++; // assoc_id++;
// stream++; // stream++;
......
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