fix generation of l3-agent confs