This commit is contained in:
2023-09-28 10:35:10 +08:00
parent 9c399443e5
commit 87dba93ca3
2 changed files with 222 additions and 1 deletions

View File

@@ -78,7 +78,7 @@ func execTshark(html string, filename string, proto string, port int) {
// fmt.Println("write html failed")
//}else {
//xsltproc pdml2html.xsl ngap.pdml > /home/agtuser/ngap.html
command := fmt.Sprintf("xsltproc /usr/lib64/pdml2html.xsl %s > %s", pdmlFile, html)
command := fmt.Sprintf("xsltproc /usr/local/omc/etc/schema/pdml2html.xsl %s > %s", pdmlFile, html)
dest := exec.Command("sh", "-c", command)
_, err2 := dest.Output()
if err2 != nil {