diff --git a/srsepc/epc.conf.example b/srsepc/epc.conf.example index cc322a90f..6d857f78a 100644 --- a/srsepc/epc.conf.example +++ b/srsepc/epc.conf.example @@ -51,7 +51,10 @@ sgi_if_addr = 172.16.0.1 #################################################################### # PCAP configuration # -# Enable PCAP tracing of S1AP packets +# Packets are captured to file in the compact format decoded by +# the Wireshark s1ap dissector and with DLT 150. +# To use the dissector, edit the preferences for DLT_USER to +# add an entry with DLT=150, Payload Protocol=s1ap. # # enable: Enable or disable the PCAP. # filename: File name where to save the PCAP. diff --git a/srsepc/src/mme/s1ap.cc b/srsepc/src/mme/s1ap.cc index 7bd252233..40aa9ee76 100644 --- a/srsepc/src/mme/s1ap.cc +++ b/srsepc/src/mme/s1ap.cc @@ -104,8 +104,8 @@ s1ap::init(s1ap_args_t s1ap_args, srslte::log_filter *s1ap_log, hss_interface_s1 if(m_pcap_enable) { m_pcap.open(s1ap_args.pcap_filename.c_str()); - m_s1ap_log->info("S1AP Initialized\n"); } + m_s1ap_log->info("S1AP Initialized\n"); return 0; }