@@ -90,6 +90,7 @@ void parse_args(all_args_t* args, int argc, char* argv[])
90
90
string spgw_bind_addr;
91
91
string sgi_if_addr;
92
92
string sgi_if_name;
93
+ string sgi_if_netmask;
93
94
string dns_addr;
94
95
string full_net_name;
95
96
string short_net_name;
@@ -130,6 +131,7 @@ void parse_args(all_args_t* args, int argc, char* argv[])
130
131
(" spgw.gtpu_bind_addr" , bpo::value<string>(&spgw_bind_addr)->default_value (" 127.0.0.1" ), " IP address of SP-GW for the S1-U connection" )
131
132
(" spgw.sgi_if_addr" , bpo::value<string>(&sgi_if_addr)->default_value (" 176.16.0.1" ), " IP address of TUN interface for the SGi connection" )
132
133
(" spgw.sgi_if_name" , bpo::value<string>(&sgi_if_name)->default_value (" srs_spgw_sgi" ), " Name of TUN interface for the SGi connection" )
134
+ (" spgw.sgi_if_netmask" , bpo::value<string>(&sgi_if_netmask)->default_value (" 255.255.255.0" ), " IP mask of TUN interface for the SGi connection" )
133
135
(" spgw.max_paging_queue" , bpo::value<uint32_t >(&max_paging_queue)->default_value (100 ), " Max number of packets in paging queue" )
134
136
135
137
(" pcap.enable" , bpo::value<bool >(&args->mme_args .s1ap_args .pcap_enable )->default_value (false ), " Enable S1AP PCAP" )
@@ -294,6 +296,7 @@ void parse_args(all_args_t* args, int argc, char* argv[])
294
296
args->spgw_args .gtpu_bind_addr = spgw_bind_addr;
295
297
args->spgw_args .sgi_if_addr = sgi_if_addr;
296
298
args->spgw_args .sgi_if_name = sgi_if_name;
299
+ args->spgw_args .sgi_if_netmask = sgi_if_netmask;
297
300
args->spgw_args .max_paging_queue = max_paging_queue;
298
301
args->hss_args .db_file = hss_db_file;
299
302
0 commit comments