Change comportement for the port registration
Signed-off-by: Nightmaster <nightmaster@seitaer.com>