moved back code from upmpd.cxx
Authored by: Jean-Francois Dockes 2016-08-16
Parent(s): [df75d8]
Child(ren): [724a5d]