Fix bug on regexp insertion for xml messages
authorEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Mon, 18 May 2020 12:55:03 +0000 (14:55 +0200)
committerEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Mon, 18 May 2020 12:55:03 +0000 (14:55 +0200)
commit82cfe5ba5f0ff723b7b024b526ddce8b3e1a92d4
treefb1773b52456655f8d0da1a12b407f2c10e10568
parent3df6432f30bd5316c35e66ee2da8a9760a8e15f3
Fix bug on regexp insertion for xml messages

We must check that the elements are found before
replacing items by [0-9]+.
This is because Origin-State-Id is not always sent.
example/diameter/launcher/EventOperation.cpp
example/diameter/launcher/Launcher.cpp